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 ¶
type SocksPacketConn struct { net.PacketConn // contains filtered or unexported fields }
func (*SocksPacketConn) Close ¶
func (c *SocksPacketConn) Close() error
func (*SocksPacketConn) ReadWithMetadata ¶
func (*SocksPacketConn) WriteWithMetadata ¶
Click to show internal directories.
Click to hide internal directories.