Add shadowsocksr outbound

This commit is contained in:
世界 2022-09-12 17:30:54 +08:00
parent ce567ffdde
commit 9913e0e025
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
18 changed files with 301 additions and 51 deletions

13
option/shadowsocksr.go Normal file
View file

@ -0,0 +1,13 @@
package option
type ShadowsocksROutboundOptions struct {
DialerOptions
ServerOptions
Method string `json:"method"`
Password string `json:"password"`
Obfs string `json:"obfs,omitempty"`
ObfsParam string `json:"obfs_param,omitempty"`
Protocol string `json:"protocol,omitempty"`
ProtocolParam string `json:"protocol_param,omitempty"`
Network NetworkList `json:"network,omitempty"`
}