Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getHostIP (0.04 sec)

  1. cmd/endpoint.go

    	for _, e := range endpoints {
    		all = append(all, e.String())
    	}
    	return all
    }
    
    func hostResolveToLocalhost(endpoint Endpoint) bool {
    	hostIPs, err := getHostIP(endpoint.Hostname())
    	if err != nil {
    		return false
    	}
    	var loopback int
    	for _, hostIP := range hostIPs.ToSlice() {
    		if net.ParseIP(hostIP).IsLoopback() {
    			loopback++
    		}
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 34.5K bytes
    - Viewed (0)
Back to top