proxy.golang.org : net/netip
Package netip defines an IP address type that's a small value type. Building on that Addr type, the package also defines AddrPort (an IP address and a port) and Prefix (an IP address and a bit length prefix). Compared to the net.IP type, Addr type takes less memory, is immutable, and is comparable (supports == and being a map key).
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/net/netip
License: BSD-3-Clause
Latest release: 29 days ago
Namespace: net
Last synced: 29 days ago