Documentation ¶ Index ¶ func Classify(err error, protocolName, host string, port int) *greet.GreetError Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Classify ¶ func Classify(err error, protocolName, host string, port int) *greet.GreetError Classify maps OS / net errors to typed GreetErrors for a TCP connection attempt. protocolName is the name of the protocol (e.g. "tcp", "ssh", "postgresql", "minecraft"). Types ¶ This section is empty. Source Files ¶ View all Source files tcperror.go Click to show internal directories. Click to hide internal directories.