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