Documentation ¶
Index ¶
Constants ¶
View Source
const ( PortMin = 0 // PortMin is the lowest permitted network port. PortMax = 65535 // PortMax is the largest permitted network port. )
Variables ¶
Functions ¶
func Dir ¶
Dir parses the reader for a valid directory input. Except for testing, r should always be os.Stdin.
func Port ¶
Port parses the reader for a valid network port. Except for testing, r should always be os.Stdin.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.