Documentation ¶
Index ¶
- Variables
- func Argument(d map[string]interface{}, name string) (string, bool)
- func ArgumentInteger(d map[string]interface{}, name string) (int, bool)
- func ArgumentIntegerMust(d map[string]interface{}, name string) int
- func ArgumentMust(d map[string]interface{}, name string) string
- func LookupIP(host string) []net.IP
- func LookupIPTimeout(host string, timeout time.Duration) []net.IP
- func ReplaceUnspecifiedIP(network string, listenAddr, globalAddr string) (string, error)
- func ResolveTCPAddr(addr string) *net.TCPAddr
- func ResolveTCPAddrTimeout(addr string, timeout time.Duration) *net.TCPAddr
- type Usage
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Hostname, _ = os.Hostname()
HostIPs, InterfaceIPs []string
)
Functions ¶
func ArgumentIntegerMust ¶
func ArgumentMust ¶
func ReplaceUnspecifiedIP ¶
func ResolveTCPAddr ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.