Documentation ¶
Overview ¶
Package net implements a set of net types that are extensions to the built-in net package. The extensions provide additional function such as JSON marshaling and unmarshaling.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IP ¶
Sub class net.IP so that we can add JSON marshalling and unmarshalling.
func (*IP) UnmarshalJSON ¶
UnmarshalJSON interface for an IP
type IPNet ¶
Sub class net.IPNet so that we can add JSON marshalling and unmarshalling.
func (IPNet) MarshalJSON ¶
MarshalJSON interface for an IPNet
func (*IPNet) UnmarshalJSON ¶
UnmarshalJSON interface for an IPNet
type MAC ¶
type MAC struct {
net.HardwareAddr
}
Sub class net.HardwareAddr so that we can add JSON marshalling and unmarshalling.
Click to show internal directories.
Click to hide internal directories.