-
Install Go 1.10.x or greater, git, setup
$GOPATH
, andPATH=$PATH:$GOPATH/bin
-
Run the server
cd $GOPATH/src/github.com/khanhhua/gopee go run main.go
-
PORT: The port. Default:
"8888"
-
HTTP_CERT_FILE: Path to cert file. Default:
""
-
HTTP_KEY_FILE: Path to key file. Default:
""
-
HTTP_DRAIN_INTERVAL: How long application will wait to drain old requests before restarting. Default:
"1s"
-
COOKIE_SECRET: Cookie secret for session. Default: Auto generated.