server

package
v0.0.0-...-c597ff8 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Socks5Server

type Socks5Server struct {
	// contains filtered or unexported fields
}

func NewSocks5Server

func NewSocks5Server(addr string) (svr *Socks5Server)

func (*Socks5Server) Close

func (s *Socks5Server) Close() error

func (*Socks5Server) ServeTCP

func (s *Socks5Server) ServeTCP(ctx context.Context, conn net.Conn)

func (*Socks5Server) ServeUDP

func (s *Socks5Server) ServeUDP(ctx context.Context, conn *net.UDPConn)

func (*Socks5Server) Start

func (s *Socks5Server) Start() error

Jump to

Keyboard shortcuts

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