Documentation
¶
Index ¶
- func GetIP(c ipIntf) net.IP
- func GetMac(ip net.IP) string
- func Recover(key string)
- type Bytes
- func (data *Bytes) Bytes() uint64
- func (data Bytes) MarshalJSON() ([]byte, error)
- func (data *Bytes) MarshalKV() (string, error)
- func (data Bytes) MarshalYAML() (interface{}, error)
- func (data Bytes) String() string
- func (data *Bytes) UnmarshalJSON(value []byte) error
- func (data *Bytes) UnmarshalKV(value string) error
- func (data *Bytes) UnmarshalYAML(value *yaml.Node) error
- type Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bytes ¶
type Bytes uint64
Bytes custom bytes struct
func (Bytes) MarshalJSON ¶
MarshalJSON marshal bytes by json
func (Bytes) MarshalYAML ¶
MarshalYAML marshal bytes by yaml
func (*Bytes) UnmarshalJSON ¶
UnmarshalJSON unmarshal bytes by json
func (*Bytes) UnmarshalKV ¶
UnmarshalKV unmarshal bytes by kv
Click to show internal directories.
Click to hide internal directories.