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) MarshalText ¶
MarshalText marshal a duration into bytes.
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) UnmarshalText ¶
UnmarshalText unmarshal a loglevel from bytes.
Click to show internal directories.
Click to hide internal directories.