Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
Duration is a wrapper over an actual duration so we can represent them as string in the toml configuration.
func (Duration) MarshalFlag ¶
func (Duration) MarshalText ¶
MarshalText marshal a duraton into bytes.
func (*Duration) UnmarshalFlag ¶
func (*Duration) UnmarshalText ¶
UnmarshalText unmarshal a duration from bytes.
type LogLevel ¶
LogLevel is wrapper over the actual log level so they can be specified as strings in the toml configuration.
func (LogLevel) MarshalText ¶
MarshalText marshal a loglevel into bytes.
func (*LogLevel) UnmarshalFlag ¶
func (*LogLevel) UnmarshalText ¶
UnmarshalText unmarshal a loglevel from bytes.
type NodeMode ¶
type NodeMode string
func NodeModeFromString ¶
func (NodeMode) MarshalText ¶
MarshalText marshal a loglevel into bytes.
func (*NodeMode) UnmarshalText ¶
UnmarshalText unmarshal a loglevel from bytes.
Click to show internal directories.
Click to hide internal directories.