Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for To16 (0.08 sec)

  1. cmd/server-startup-msg.go

    	}
    }
    
    // Returns true if input is IPv6
    func isIPv6(host string) bool {
    	h, _, err := net.SplitHostPort(host)
    	if err != nil {
    		h = host
    	}
    	ip := net.ParseIP(h)
    	return ip.To16() != nil && ip.To4() == nil
    }
    
    // strip api endpoints list with standard ports such as
    // port "80" and "443" before displaying on the startup
    // banner.  Returns a new list of API endpoints.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 23 14:11:35 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. api/go1.txt

    pkg net, method (IP) IsLoopback() bool
    pkg net, method (IP) IsMulticast() bool
    pkg net, method (IP) IsUnspecified() bool
    pkg net, method (IP) Mask(IPMask) IP
    pkg net, method (IP) String() string
    pkg net, method (IP) To16() IP
    pkg net, method (IP) To4() IP
    pkg net, method (IPMask) Size() (int, int)
    pkg net, method (IPMask) String() string
    pkg net, method (InvalidAddrError) Error() string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top