Documentation ¶
Index ¶
- type CCEIP
- type CCEIPv4
- func (ip CCEIPv4) EndpointPrefix() *net.IPNet
- func (ip CCEIPv4) GetFamilyString() string
- func (ip CCEIPv4) IP() net.IP
- func (ip CCEIPv4) IsIPv6() bool
- func (ip CCEIPv4) IsSet() bool
- func (ip CCEIPv4) MarshalJSON() ([]byte, error)
- func (ip CCEIPv4) String() string
- func (ip *CCEIPv4) UnmarshalJSON(b []byte) error
- type CCEIPv6
- func (ip CCEIPv6) EndpointPrefix() *net.IPNet
- func (ip CCEIPv6) GetFamilyString() string
- func (ip CCEIPv6) IP() net.IP
- func (ip CCEIPv6) IsIPv6() bool
- func (ip CCEIPv6) IsSet() bool
- func (ip CCEIPv6) MarshalJSON() ([]byte, error)
- func (ip CCEIPv6) String() string
- func (ip *CCEIPv6) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CCEIPv4 ¶
type CCEIPv4 []byte
func DeriveCCEIPv4 ¶
func NewCCEIPv4 ¶
func (CCEIPv4) EndpointPrefix ¶
func (CCEIPv4) GetFamilyString ¶
GetFamilyString returns the address family of ip as a string.
func (CCEIPv4) MarshalJSON ¶
func (*CCEIPv4) UnmarshalJSON ¶
type CCEIPv6 ¶
type CCEIPv6 []byte
func DeriveCCEIPv6 ¶
func NewCCEIPv6 ¶
NewCCEIPv6 returns a IPv6 if the given `address` is an IPv6 address.
func (CCEIPv6) EndpointPrefix ¶
func (CCEIPv6) GetFamilyString ¶
GetFamilyString returns the address family of ip as a string.
func (CCEIPv6) MarshalJSON ¶
func (*CCEIPv6) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.