socks5

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CmdConnect      = 0x01
	CmdUDPAssociate = 0x03
)

request cmd

View Source
const (
	AddressTypeIPV4   = 0x01
	AddressTypeDomain = 0x03
	AddressTypeIPV6   = 0x04
)

address type

View Source
const (
	MethodNone = 0 // NO AUTHENTICATION REQUIRED
)

method

View Source
const Version = 5

Version socks5 version

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

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

func NewRequest

func NewRequest(config *conf.Config, conn util.ToxConn) *Request

func (*Request) Handle

func (r *Request) Handle() error

Jump to

Keyboard shortcuts

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