Documentation ¶
Index ¶
Constants ¶
View Source
const ( SchemeHTTP = "http" SchemeHTTPS = "https" SchemeSocks = "socks" SchemeSocks4 = "socks4" SchemeSocks4a = "socks4a" SchemeSocks5 = "socks5" SchemeSSH = "ssh" SchemeSS = "ss" SchemeVMess = "vmess" )
View Source
const MbpsToBps = 125000
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BrutalOptions ¶
type MuxOption ¶
type MuxOption struct { Enabled bool `json:"enabled"` Protocol string `json:"protocol,omitempty"` MaxConnections int `json:"max_connections,omitempty"` MinStreams int `json:"min_streams,omitempty"` MaxStreams int `json:"max_streams,omitempty"` Padding bool `json:"padding,omitempty"` Brutal *BrutalOptions `json:"brutal,omitempty"` }
type Option ¶
type Option struct { Mux *MuxOption User *UserOption SSH *SSHOption SS *SSOption VMess *VMessOption }
type ProxyDialer ¶
type ProxyDialer struct {
// contains filtered or unexported fields
}
func (*ProxyDialer) DialContext ¶
func (*ProxyDialer) ListenPacket ¶
func (d *ProxyDialer) ListenPacket(ctx context.Context, dest M.Socksaddr) (net.PacketConn, error)
type UserOption ¶
Click to show internal directories.
Click to hide internal directories.