Documentation ¶
Overview ¶
Package net contains utilities for manipulating network.
Index ¶
Constants ¶
View Source
const ( // LocalAddress is the local address. LocalAddress = "127.0.0.1" // PublicAddress is the public address. PublicAddress = "0.0.0.0" )
Variables ¶
This section is empty.
Functions ¶
func GetUnusedPort ¶
GetUnusedPort returns an unused port on the local machine.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.