Documentation ¶
Index ¶
- func DirectProxy(conn net.Conn, host string, port string, config config.Config)
- func ResponseNoAuth(conn net.Conn)
- func ResponseTCP(conn net.Conn, rep byte)
- func ResponseUDP(conn net.Conn, bindAddr *net.UDPAddr)
- func TCPProxy(conn net.Conn, config config.Config, data []byte)
- func UDPProxy(tcpConn net.Conn, udpConn *net.UDPConn, config config.Config)
- type ProxyUDP
- type RequestAddr
- type UDPReply
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResponseNoAuth ¶ added in v1.1.2
func ResponseTCP ¶ added in v1.5.5
Types ¶
type RequestAddr ¶ added in v1.1.0
type RequestAddr struct { Host string Port string Key string Network string Timestamp string Random string }
func (*RequestAddr) MarshalBinary ¶ added in v1.1.0
func (r *RequestAddr) MarshalBinary() ([]byte, error)
func (*RequestAddr) UnmarshalBinary ¶ added in v1.1.0
func (r *RequestAddr) UnmarshalBinary(data []byte) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.