Commit 93466ff
main.go
@@ -6,9 +6,8 @@ import (
"os"
"time"
- "bryfry_swas/proxyauth"
-
log "github.com/Sirupsen/logrus"
+ "github.com/bryfry/swas/proxyauth"
"github.com/codegangsta/cli"
"github.com/gorilla/mux"
)
@@ -16,7 +15,7 @@ import (
// Define the command line arguments and help info
func cliInit() *cli.App {
app := cli.NewApp()
- app.Name = "bryfry_swas"
+ app.Name = "swas"
app.Usage = "Simple Web API Server - Proxy Authentication API endpoint"
app.Version = "0.0.1"
app.Flags = []cli.Flag{
README.md
@@ -1,5 +1,10 @@
#bryfry_swas
+## Checkout
+```
+go get github.com/bryfry/swas
+```
+
## Install Dependencies
```
go get github.com/codegangsta/cli # MIT Licensed
@@ -7,21 +12,16 @@ go get github.com/gorilla/mux # New BSD Licensed
go get github.com/Sirupsen/logrus # MIT Licensed
```
-## Expected Environment
-Because bryfry_swas uses an internal package (proxyauth) it is important that go
-has the appropriate access to find this package via $GOPATH. Please place the bryfry_swas
-project directory under the src directory of your $GOPATH and everything should work swimmingly!
-
## Build
`go build` or `go install`
## Run
-`sudo ./bryfry_swas`
+`sudo ./swas`
## Testing
Two testing methods are provided, external curl test script and internal go test
* Run `./curl_test.sh` after startup (port 80) to run external tests
-* Run `go test` from inside bryfry_swas/proxyauth to run internal package tests
+* Run `go test` from inside swas/proxyauth to run internal package tests
## Documentation
view godoc.html to read the godoc for bryfry_swas/proxyauth
@@ -31,10 +31,10 @@ view godoc.html to read the godoc for bryfry_swas/proxyauth
```
NAME:
- bryfry_swas - Simple Web API Server - Proxy Authentication API endpoint
+ swas - Simple Web API Server - Proxy Authentication API endpoint
USAGE:
- bryfry_swas [global options] command [command options] [arguments...]
+ swas [global options] command [command options] [arguments...]
VERSION:
0.0.1