Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrIPAddressV4Syntax = "syntax error in IPv4 address" ErrOverflow = "overflow" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPAddressV4 ¶
type IPAddressV4 uint32
IPAddressV4 is an Internet Protocol Version 4 Address.
func NewFromBytes ¶
func NewFromBytes(ba, bb, bc, bd byte) IPAddressV4
func NewFromString ¶
func NewFromString(str string) (addr IPAddressV4, err error)
func NewFromUintString ¶
func NewFromUintString(uintStr string) (addr IPAddressV4, err error)
Click to show internal directories.
Click to hide internal directories.