Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsExpectedError ¶
IsExpectedError returns true for errors that are normal during connection teardown and should not be logged as warnings.
func ValidatePort ¶
ValidatePort converts an int32 proto port to uint16, returning an error if the value is out of the valid 1–65535 range.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.