Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrParseError = "IP address parse error" ErrNotEnoughDataInAddress = "not enough data in address" )
Variables ¶
This section is empty.
Functions ¶
func ParseIPA ¶
ParseIPA parses a string into an IP address and returns an error on error. Golang's built-in parser does not return an error! What a shame.
func SplitHostPort ¶
SplitHostPort splits address into host and port and returns an error on error.While Go language does not have this very basic function, we are re-inventing the wheel again and again.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.