Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start(config *XRayConfig) (err error)
Types ¶
type XRayConfig ¶
type XRayConfig struct { // SocksAddr socks5 proxy address SocksAddr string // SocksPort socks5 proxy port SocksPort int // ServerAddr trojan proxy address ServerAddr string // ServerPort trojan proxy port ServerPort int // SNI tls server name SNI string // Password trojan password Password string // AllowInsecure skip verify AllowInsecure bool // Flow tls flow control Flow string }
Click to show internal directories.
Click to hide internal directories.