Documentation ¶
Index ¶
- func Between(ip string, from string, to string) bool
- func BytesToIPv4(b []byte) (net.IP, error)
- func BytesToIPv4String(b []byte) (string, error)
- func BytesToIPv6(b []byte) (net.IP, error)
- func BytesToIPv6String(b []byte) (string, error)
- func GetHostIp() (net.IP, error)
- func GetIPv4Gateway(ip string) (string, error)
- func IPv4ToInt(ip string) uint32
- func InSegment(ip string, segment string) bool
- func IntToIPv4(v uint32) string
- func IsIPV4(ip string) bool
- func IsPort(port string) bool
- func ResolveIP(ip string) (net.IP, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToIPv4String ¶
func BytesToIPv6String ¶
func GetIPv4Gateway ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.