wssocks

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL