Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkMode ¶
type NetworkMode uint8
const ( NetworkTCP NetworkMode = iota NetworkTCPIPv4 NetworkTCPIPv6 NetworkUnixSocket )
func NetworkModeFromInt ¶
func NetworkModeFromInt(i int64) NetworkMode
func NetworkModeFromString ¶
func NetworkModeFromString(str string) NetworkMode
func (NetworkMode) Int ¶
func (n NetworkMode) Int() int64
func (NetworkMode) MarshalJSON ¶
func (n NetworkMode) MarshalJSON() ([]byte, error)
func (NetworkMode) String ¶
func (n NetworkMode) String() string
func (*NetworkMode) UnmarshalJSON ¶
func (n *NetworkMode) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.