Documentation
¶
Index ¶
Constants ¶
View Source
const ( AuthMethodNoAuth = uint8(0x00) AuthMethodNoAcceptable = uint8(0xff) )
View Source
const ( ATYPIPv4 = uint8(0x01) ATYPDomainName = uint8(0x03) ATYPIPv6 = uint8(0x04) // not support )
View Source
const (
CmdTypeConnect = uint8(0x01)
)
View Source
const (
RSV = uint8(0x00)
)
View Source
const (
RepSucceeded = uint8(0x00)
)
View Source
const (
TCP = "tcp"
)
View Source
const (
V5 = uint8(0x05)
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Config ¶
type Config struct { Address AddrSpec AuthMethods []Authenticator LogLevel log.Level }
type NoAuthAuthenticator ¶
type NoAuthAuthenticator struct{}
func (NoAuthAuthenticator) Authenticate ¶
func (a NoAuthAuthenticator) Authenticate(local net.Conn) error
func (NoAuthAuthenticator) Code ¶
func (a NoAuthAuthenticator) Code() uint8
Click to show internal directories.
Click to hide internal directories.