Documentation ¶
Index ¶
- func ConnectServer(config config.Config) quic.Session
- func DirectProxy(conn net.Conn, host string, port string, config config.Config)
- func Handshake(network string, host string, port string, session quic.Session) (bool, quic.Stream)
- func Resp(conn net.Conn, rep byte)
- func RespNoAuth(conn net.Conn)
- func RespSuccess(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 RequestAddr
- type UDPRelay
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectServer ¶
func RespNoAuth ¶ added in v1.0.4
Types ¶
type RequestAddr ¶
func (*RequestAddr) MarshalBinary ¶
func (r *RequestAddr) MarshalBinary() ([]byte, error)
func (*RequestAddr) UnmarshalBinary ¶
func (r *RequestAddr) UnmarshalBinary(data []byte) error
Click to show internal directories.
Click to hide internal directories.