Documentation ¶
Index ¶
- func NewServer(o *listener.Opts[*listener.Protocol_Socks5], udp bool) (netapi.Server, error)
- func NewServerWithListener(lis net.Listener, o *listener.Opts[*listener.Protocol_Socks5], udp bool) (netapi.Server, error)
- func NewUDPServer(addr string, handler netapi.Handler) (net.PacketConn, error)
- type Socks5
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServerWithListener ¶
func NewUDPServer ¶
Types ¶
type Socks5 ¶
type Socks5 struct { UDP bool // contains filtered or unexported fields }
func NewServerHandler ¶
Click to show internal directories.
Click to hide internal directories.