Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Shadowsocks ¶
type Shadowsocks struct { Add string Port int Password string Method string VmessOptions }
func NewShadowsocks ¶
type Trojan ¶
type Vless ¶
type Vless struct { TLS string Add string Port int Net string ID string Type string // headerType Security string // VlessUser.Security Encryption string // VlessUser.encryption Flow string // VlessUser.flow Protocol string Path string // ws path Host string // ws host / http host SNI string // tls sni VmessOptions }
type Vmess ¶
type Vmess struct { Host string Path string TLS string Add string Port int Aid int Net string ID string Type string // headerType Security string // vnext.Security Encryption string // VlessUser.encryption Flow string // VlessUser.flow SNI string // tls sni Protocol string VmessOptions Trojan *Trojan Shadowsocks *Shadowsocks }
type VmessDialer ¶
func (*VmessDialer) DialContext ¶
type VmessOptions ¶
type VmessOptions struct { UseIPv6 bool `json:"useIPv6"` Loglevel string `json:"logLevel"` RouteMode int `json:"routeMode"` // for SSRRAY DisableDNSCache bool `json:"disableDNSCache"` // for SSRRAY EnableSniffing bool `json:"enableSniffing"` DNS string `json:"dns"` // DNS Config AllowInsecure bool `json:"allowInsecure"` Mux int `json:"mux"` LocalPort int `json:"localPort"` ServerName string `json:"serverName"` }
func NewVmessOptions ¶
func NewVmessOptions(opt []byte) VmessOptions
Click to show internal directories.
Click to hide internal directories.