Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client interface {
// DialTCP connects to `raddr` over TCP though a Shadowsocks proxy.
// `laddr` is a local bind address, a local address is automatically chosen if nil.
// `raddr` has the form `host:port`, where `host` can be a domain name or IP address.
DialTCP(laddr *net.TCPAddr, raddr string) (onet.DuplexConn, error)
// ListenUDP relays UDP packets though a Shadowsocks proxy.
// `laddr` is a local bind address, a local address is automatically chosen if nil.
ListenUDP(laddr *net.UDPAddr) (net.PacketConn, error)
}
Client is a client for Shadowsocks TCP and UDP connections.
Click to show internal directories.
Click to hide internal directories.