Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

  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++
    		}
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.5K bytes
    - Click Count (0)
Back to Top