Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidVersion = fmt.Errorf("invalid version")
Functions ¶
This section is empty.
Types ¶
type GreetingReply ¶
func ReadGreetingReply ¶
func ReadGreetingReply(r *bufio.Reader) (*GreetingReply, error)
type Status ¶
type Status byte
const ( StatusGranted Status = 0x00 StatusGeneralFailure Status = 0x01 StatusConnectionNotAllowed Status = 0x02 StatusNetworkUnreachable Status = 0x03 StatusHostUnreachable Status = 0x04 StatusConnectionRefused Status = 0x05 StatusTTLExpired Status = 0x06 StatusCommandNotSupported Status = 0x07 StatusAddrTypeNotSupported Status = 0x08 StatusNoIdentService Status = iota StatusIdentAuthFailure )
func (Status) MarshalText ¶
Click to show internal directories.
Click to hide internal directories.