Registry / networking / mikioh-ipaddr

mikioh-ipaddr

JSON →
library0.0.0-20190404000644-d465c8ab6721gogounverified

Package ipaddr provides basic functions for manipulation of IP address prefixes and subsequent addresses as described in RFC 4632 and RFC 4291.

go get github.com/mikioh/ipaddr
INSTALL
IMPORT
SIG · MIKIOH-IPADDR
M
mikioh-ipaddr
networkinggov0.0.0-20190404000644-d465c8ab6721
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ipaddr
github.com/mikioh/ipaddr

Creates an IP prefix and prints its network address.

package main import ( "fmt" "github.com/mikioh/ipaddr" ) func main() { p := ipaddr.NewPrefix("192.0.2.0/24") fmt.Println(p.Addr()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20190404000644-d465c8ab6721latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
mikioh-ipaddr — go get mikioh-ipaddr · libregistry