Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AtomicBool ¶
func NewAtomicBool ¶
func NewAtomicBool(val bool) AtomicBool
type Duration ¶ added in v0.49.0
Duration is a serializable version version of a time.Duration it supports setting in yaml & json via: - string: 10s - float32/64, int/32/64: 10 (nanoseconds)
func (Duration) MarshalJSON ¶ added in v0.49.0
func (Duration) MarshalYAML ¶ added in v0.49.0
func (*Duration) UnmarshalJSON ¶ added in v0.49.0
func (*Duration) UnmarshalText ¶ added in v0.51.0
func (*Duration) UnmarshalYAML ¶ added in v0.49.0
type ScheduledExecutor ¶
type ScheduledExecutor interface { Start() Stop() }
func NewScheduledExecutor ¶
func NewScheduledExecutor(period time.Duration, cb func()) ScheduledExecutor
type URL ¶ added in v0.56.0
URL is a serializable version version of a url.URL it supports serialization in yaml and json
func (URL) MarshalJSON ¶ added in v0.56.0
func (URL) MarshalYAML ¶ added in v0.56.0
func (*URL) UnmarshalJSON ¶ added in v0.56.0
func (*URL) UnmarshalYAML ¶ added in v0.56.0
Click to show internal directories.
Click to hide internal directories.