Update README, help
This commit is contained in:
parent
efd414091d
commit
7cb9f91de0
@ -37,9 +37,9 @@ Google讨论组: https://groups.google.com/forum/#!forum/go-gost
|
||||
|
||||
> -S="": the server that connect to
|
||||
|
||||
> -cert="": cert file for tls
|
||||
> -cert="": tls cert file
|
||||
|
||||
> -key="": key file for tls
|
||||
> -key="": tls key file
|
||||
|
||||
> -m="": tunnel cipher method
|
||||
|
||||
@ -51,7 +51,9 @@ Google讨论组: https://groups.google.com/forum/#!forum/go-gost
|
||||
|
||||
> -ss=false: run as shadowsocks server
|
||||
|
||||
> -ws=false: use websocket for tunnel
|
||||
> -ws=false: use websocket tunnel
|
||||
|
||||
> -http=false: use http tunnel
|
||||
|
||||
> -v=false: print version
|
||||
|
||||
|
8
main.go
8
main.go
@ -24,11 +24,11 @@ func init() {
|
||||
flag.StringVar(&Laddr, "L", ":8080", "listen address")
|
||||
flag.StringVar(&Method, "m", "", "tunnel cipher method")
|
||||
flag.StringVar(&Password, "p", "", "tunnel cipher password")
|
||||
flag.StringVar(&CertFile, "cert", "", "cert file for tls")
|
||||
flag.StringVar(&KeyFile, "key", "", "key file for tls")
|
||||
flag.StringVar(&CertFile, "cert", "", "tls cert file")
|
||||
flag.StringVar(&KeyFile, "key", "", "tls key file")
|
||||
flag.BoolVar(&Shadows, "ss", false, "run as shadowsocks server")
|
||||
flag.BoolVar(&UseWebsocket, "ws", false, "use websocket for tunnel")
|
||||
flag.BoolVar(&UseHttp, "http", false, "use http for tunnel")
|
||||
flag.BoolVar(&UseWebsocket, "ws", false, "use websocket tunnel")
|
||||
flag.BoolVar(&UseHttp, "http", false, "use http tunnel")
|
||||
flag.StringVar(&SMethod, "sm", "rc4-md5", "shadowsocks cipher method")
|
||||
flag.StringVar(&SPassword, "sp", "ginuerzh@gmail.com", "shadowsocks cipher password")
|
||||
flag.BoolVar(&PrintVersion, "v", false, "print version")
|
||||
|
Loading…
Reference in New Issue
Block a user