- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for mustGetLocalLoopbacks (0.09 sec)
-
cmd/net.go
) var ( // IPv4 addresses of localhost. localIP4 = mustGetLocalIP4() // IPv6 addresses of localhost. localIP6 = mustGetLocalIP6() // List of all local loopback addresses. localLoopbacks = mustGetLocalLoopbacks() ) // mustSplitHostPort is a wrapper to net.SplitHostPort() where error is assumed to be a fatal. func mustSplitHostPort(hostPort string) (host, port string) { xh, err := xnet.ParseHost(hostPort)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 14:34:00 UTC 2024 - 9.6K bytes - Viewed (0)