Documentation ¶
Index ¶
Constants ¶
View Source
const MaxPacketSize = 1024 * 8
View Source
const Name = "FREEDOM"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DialPacket ¶
type Config ¶
type Config struct { LocalHost string `json:"local_addr" yaml:"local-addr"` LocalPort int `json:"local_port" yaml:"local-port"` TCP TCPConfig `json:"tcp" yaml:"tcp"` ForwardProxy ForwardProxyConfig `json:"forward_proxy" yaml:"forward-proxy"` }
type ForwardProxyConfig ¶
type SocksPacketConn ¶ added in v0.7.8
type SocksPacketConn struct { net.PacketConn // contains filtered or unexported fields }
func (*SocksPacketConn) Close ¶ added in v0.7.8
func (c *SocksPacketConn) Close() error
func (*SocksPacketConn) ReadWithMetadata ¶ added in v0.7.8
func (*SocksPacketConn) WriteWithMetadata ¶ added in v0.7.8
Click to show internal directories.
Click to hide internal directories.