Documentation ¶ Index ¶ type Handler func (h *Handler) BindTCP(ctx context.Context, addr *socks5.AddrPort) (net.Listener, error) func (h *Handler) BindUDP(ctx context.Context, addr *socks5.AddrPort) (net.PacketConn, error) func (h *Handler) DialTCP(ctx context.Context, addr *socks5.AddrPort) (net.Conn, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Handler ¶ type Handler struct { Client *wpn.Client } func (*Handler) BindTCP ¶ func (h *Handler) BindTCP(ctx context.Context, addr *socks5.AddrPort) (net.Listener, error) func (*Handler) BindUDP ¶ func (h *Handler) BindUDP(ctx context.Context, addr *socks5.AddrPort) (net.PacketConn, error) func (*Handler) DialTCP ¶ func (h *Handler) DialTCP(ctx context.Context, addr *socks5.AddrPort) (net.Conn, error) Source Files ¶ View all Source files handler.go Click to show internal directories. Click to hide internal directories.