Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Documentation = IpType{documentation, "documetation"}
View Source
var LinkLocal = IpType{linklocal, "linklocal"}
View Source
var Loopback = IpType{loopback, "loopback"}
View Source
var Malformed = IpError(errors.New("malformed"))
View Source
var Multicast = IpType{multicast, "multicast"}
View Source
var Private = IpType{private, "private"}
View Source
var Public = IpType{public, "public"}
These should really be consts, but...
View Source
var Reserved = IpType{reserved, "reserved"}
View Source
var Six2Four = IpType{six2four, "6to4"}
Functions ¶
Types ¶
type Accumulator ¶
type JsonAccumulator ¶
type JsonAccumulator struct {
// contains filtered or unexported fields
}
func NewJsonAccumulator ¶
func NewJsonAccumulator() *JsonAccumulator
func (JsonAccumulator) Append ¶
func (a JsonAccumulator) Append(ip string, tName string)
func (JsonAccumulator) Read ¶
func (a JsonAccumulator) Read() *bytes.Buffer
type TextAccumulator ¶
type TextAccumulator struct {
// contains filtered or unexported fields
}
func NewTextAccumulator ¶
func NewTextAccumulator() *TextAccumulator
func (TextAccumulator) Append ¶
func (a TextAccumulator) Append(ip string, tName string)
func (TextAccumulator) Read ¶
func (a TextAccumulator) Read() *bytes.Buffer
Click to show internal directories.
Click to hide internal directories.