mirror of
https://github.com/nadoo/glider.git
synced 2026-11-23 23:49:41 +08:00
proxy: support registerable usage info
This commit is contained in:
1 parent
d05d71e591
commit
cc63a59f1e
22 files changed
+383
-312
No files matched your search
@@ -155,3 +155,10 @@ func (s *SSR) Dial(network, addr string) (net.Conn, error) {
|
||||
func (s *SSR) DialUDP(network, addr string) (net.PacketConn, net.Addr, error) {
|
||||
return nil, nil, proxy.ErrNotSupported
|
||||
}
|
||||
|
||||
func init() {
|
||||
proxy.AddUsage("ssr", `
|
||||
SSR scheme:
|
||||
ssr://method:pass@host:port?protocol=xxx&protocol_param=yyy&obfs=zzz&obfs_param=xyz
|
||||
`)
|
||||
}
|
||||
Reference in new issue
Block a user