package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Nov 12, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
IpToAddr converts the net.IP to netip.Addr.
If slice's length is not 4 or 16, IpToAddr returns netip.Addr{}
UnMasked returns p's last IP address.
If p is invalid, UnMasked returns netip.Addr{}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.