//
pkg.gl
Category
github.com/thxcode/projectcalico-libcalico-go
lib
net
package
1.7.3
Repository:
https://github.com/thxcode/projectcalico-libcalico-go.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
2
Dependents
0
Files
169 SLOC
#
Functions
MustParseCIDR
MustParseCIDR parses the string into a IPNet.
MustParseIP
MustParseIP parses the string into a IP.
MustParseNetwork
MustParseNetwork parses the string into a IPNet.
ParseCIDR
No description provided by the author
ParseIP
ParseIP returns an IP from a string.
#
Structs
IP
Sub class net.IP so that we can add JSON marshalling and unmarshalling.
IPNet
Sub class net.IPNet so that we can add JSON marshalling and unmarshalling.
MAC
Sub class net.HardwareAddr so that we can add JSON marshalling and unmarshalling.