Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectionType ¶
type DirectionType int
const ( DirectionTypeIn DirectionType = iota DirectionTypeOut )
func (DirectionType) MarshalJSON ¶
func (d DirectionType) MarshalJSON() ([]byte, error)
MarshalJSON returns the string representation of DirectionType
func (*DirectionType) UnmarshalJSON ¶
func (d *DirectionType) UnmarshalJSON(b []byte) error
UnmarshalJSON returns the appropriate DirectionType for parsed string
type RoleType ¶
type RoleType int
RoleType
func (RoleType) MarshalJSON ¶
MarshalJSON returns the string representation of RoleType
func (*RoleType) UnmarshalJSON ¶
UnmarshalJSON returns the appropriate RoleType for parsed string
type SocketAddressFamilyType ¶
type SocketAddressFamilyType int
SocketAddressFamilyType
const ( SocketAddressFamilyIPv4 SocketAddressFamilyType = iota SocketAddressFamilyIPv6 )
func (SocketAddressFamilyType) MarshalJSON ¶
func (a SocketAddressFamilyType) MarshalJSON() ([]byte, error)
MarshalJSON returns the string representation of SocketAddressFamilyType
func (*SocketAddressFamilyType) UnmarshalJSON ¶
func (a *SocketAddressFamilyType) UnmarshalJSON(b []byte) error
UnmarshalJSON returns the appropriate SocketAddressFamilyType for parsed string
Click to show internal directories.
Click to hide internal directories.