Versions in this module Expand all Collapse all v0 v0.5.0 Nov 21, 2024 Changes in this version + func BuildInetSocketAddress(host string, port int) string + func CheckPortOpen(host string, port int, timeout time.Duration) bool + func CheckPortRangeOpen(host string, startPort int, endPort int, timeout time.Duration) []int + func GetAllNetworkInterfaces() ([]net.Interface, error) + func GetHostname() (string, error) + func GetIPByHost(host string) (string, error) + func GetLocalIP() (string, error) + func GetMACAddress() (string, error) + func GetPublicIP() (string, error) + func HideIPPart(ip string) (string, error) + func IPv4ToLong(ip string) (uint32, error) + func IsInner(start uint32, end uint32, target uint32) bool + func IsInnerIP(ip string) bool + func IsUsableLocalPort(port int) bool + func IsValidIP(ip string) bool + func IsValidPort(port int) bool + func LocalIPv4s() ([]string, error) + func LongToIPv4(ipLong uint32) string + func LookupMX(domain string) ([]*net.MX, error) + func Ping(host string) (bool, error) + func ResolveDomain(domain string) ([]string, error) + func ToAbsoluteURL(baseURL string, relativeURL string) (string, error)