ipkit

package
v2.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPAddr2Int

func IPAddr2Int(addr netip.Addr) uint32

func ISIPv4OrIPv6

func ISIPv4OrIPv6(ipStr string) string

func Int2IP

func Int2IP(ipInt uint32) net.IP

Int2IP converts a 32-bit integer back to an IPv4 address.

func Ip2Int

func Ip2Int(ip net.IP) uint32

Ip2Int 将IP地址转换为整数

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL