Documentation ¶
Index ¶
Constants ¶
View Source
const ( SOCKS5 = "socks5" HTTP = "http" WEBSOCKET = "ws" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeoDomain ¶
type Local ¶
type Local struct { ProxyType string `yaml:"ProxyType"` ProxyMode string `yaml:"ProxyMode"` BindHost string `yaml:"BindHost"` BindPort uint16 `yaml:"BindPort"` DNSServer string `yaml:"DNSServer"` RemoteHost string `yaml:"RemoteHost"` RemotePort uint16 `yaml:"RemotePort"` RemoteSSL bool `yaml:"RemoteSSL"` GeoDomain *GeoDomain `yaml:"GeoDomain"` Salt string `yaml:"Salt"` Username string `yaml:"Username"` Password string `yaml:"Password"` AllowInsecure bool `yaml:"AllowInsecure"` HttpPath string `yaml:"HttpPath"` HttpDomain string `yaml:"HttpDomain"` HttpUserAgent string `yaml:"HttpUserAgent"` GrpcServiceName string `yaml:"GrpcServiceName"` }
func (*Local) UnmarshalYAML ¶ added in v0.0.6
Click to show internal directories.
Click to hide internal directories.