enum

package
v1.8.20230922 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ConnectCommand   = uint8(1)
	BindCommand      = uint8(2)
	AssociateCommand = uint8(3)
	Ipv4Address      = uint8(1)
	FqdnAddress      = uint8(3)
	Ipv6Address      = uint8(4)
)
View Source
const (
	SuccessReply uint8 = iota
	ServerFailure
	RuleFailure
	NetworkUnreachable
	HostUnreachable
	ConnectionRefused
	TTLExpired
	CommandNotSupported
	AddrTypeNotSupported
)
View Source
const (
	NoAuth          = uint8(0)
	NoAcceptable    = uint8(255)
	UserPassAuth    = uint8(2)
	UserAuthVersion = uint8(1)
	AuthSuccess     = uint8(0)
	AuthFailure     = uint8(1)
)
View Source
const (
	Timeout    int    = 60
	BufferSize int    = 64 * 1024
	WSPath     string = "/freedom"
	SndWnd     int    = 10240
	RcvWnd     int    = 10240
	SockBuf    int    = 4194304
	SmuxVer    int    = 2
	SmuxBuf    int    = 4194304
	StreamBuf  int    = 2097152
)
View Source
const (
	Socks5Version = uint8(5)
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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