Versions in this module Expand all Collapse all v0 v0.9.0 Nov 30, 2022 Changes in this version + type Shadowsocks struct + Add string + Method string + Password string + Port int + func NewShadowsocks(Add string, Port int, Password string, Method string, opt []byte) *Shadowsocks + type Trojan struct + Add string + Host string + Net string + Password string + Path string + Port int + SNI string + SkipCertVerify bool + func NewTrojan(Add string, Port int, Password string, SNI string, SkipCertVerify bool, ...) *Trojan + type Vless struct + Add string + Encryption string + Flow string + Host string + ID string + Net string + Path string + Port int + Protocol string + SNI string + Security string + TLS string + Type string + func NewVless(Add string, Port int, ID string, TLS string, HeaderType string, ...) *Vless + type Vmess struct + Add string + Aid int + Encryption string + Flow string + Host string + ID string + Net string + Path string + Port int + Protocol string + SNI string + Security string + Shadowsocks *Shadowsocks + TLS string + Trojan *Trojan + Type string + func NewVmess(Host string, Path string, TLS string, Add string, Port int, Aid int, ...) *Vmess + type VmessDialer struct + Instance *vcore.Instance + func (d *VmessDialer) DialContext(ctx context.Context, network string, addr string) (net.Conn, error) + type VmessOptions struct + AllowInsecure bool + DNS string + DisableDNSCache bool + EnableSniffing bool + LocalPort int + Loglevel string + Mux int + RouteMode int + ServerName string + UseIPv6 bool + func NewVmessOptions(opt []byte) VmessOptions