- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isLocalHost (0.14 sec)
-
cmd/net.go
port = "80" default: return "", "", errors.New("unable to guess port from scheme") } } return host, port, nil } // isLocalHost - checks if the given parameter // correspond to one of the local IP of the // current machine func isLocalHost(host string, port string, localPort string) (bool, error) { hostIPs, err := getHostIP(host) if err != nil { return false, err }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 9.6K bytes - Viewed (1)