mirror of
https://github.com/nadoo/glider.git
synced 2025-02-23 17:35:40 +08:00
doc: update help msg for ws
This commit is contained in:
parent
88eee75aa7
commit
49021f167c
@ -125,6 +125,8 @@ Available Schemes:
|
||||
http: http proxy
|
||||
ssr: ssr proxy
|
||||
vmess: vmess proxy
|
||||
tls: tls transport
|
||||
ws: websocket transport
|
||||
redir: redirect proxy. (used on linux as a transparent proxy with iptables redirect rules)
|
||||
tcptun: tcp tunnel
|
||||
udptun: udp tunnel
|
||||
@ -164,7 +166,7 @@ Websocket scheme:
|
||||
ws://host:port[/path]
|
||||
|
||||
Websocket with a specified proxy protocol:
|
||||
ws://host:port[/path],proxy://scheme
|
||||
ws://host:port[/path],scheme://
|
||||
ws://host:port[/path],http://[user:pass@]
|
||||
ws://host:port[/path],socks5://[user:pass@]
|
||||
ws://host:port[/path],vmess://[security:]uuid@?alterID=num
|
||||
|
2
conf.go
2
conf.go
@ -162,6 +162,8 @@ func usage() {
|
||||
fmt.Fprintf(os.Stderr, " http: http proxy\n")
|
||||
fmt.Fprintf(os.Stderr, " ssr: ssr proxy\n")
|
||||
fmt.Fprintf(os.Stderr, " vmess: vmess proxy\n")
|
||||
fmt.Fprintf(os.Stderr, " tls: tls transport\n")
|
||||
fmt.Fprintf(os.Stderr, " ws: websocket transport\n")
|
||||
fmt.Fprintf(os.Stderr, " redir: redirect proxy. (used on linux as a transparent proxy with iptables redirect rules)\n")
|
||||
fmt.Fprintf(os.Stderr, " tcptun: tcp tunnel\n")
|
||||
fmt.Fprintf(os.Stderr, " udptun: udp tunnel\n")
|
||||
|
2
dev.go
2
dev.go
@ -6,8 +6,6 @@ import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
_ "net/http/pprof"
|
||||
|
||||
_ "github.com/nadoo/glider/proxy/ws"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
Loading…
Reference in New Issue
Block a user