Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IPNetAll = []net.IPNet{{IP: _4b[:], Mask: _4b[:]}, {IP: _16b[:], Mask: _16b[:]}}
IPNetALL is simply 0/0 plus ::/0
Functions ¶
func NewLLAddr ¶
NewLLAddr generates a RFC 4862 compliant linklocal address, from a random mac address
func NewReadCloser ¶
func NewReadCloser(path string) (io.ReadCloser, error)
NewReadCloser returns a ReadCloser from the given path path can be a file system path, a http url, or "-" for stdin
func UnmarshalHCL ¶
UnmarshalHCL decodes the hcl file read from path then unmarshal it into the given interface
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.