Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseConfigFile ¶
ParseConfigFile reads path as JSON5 into out. If non-empty, errors will reference the given flagName.
Types ¶
type Duration ¶
Duration is a simple struct wrapper to allow us to parse strings as durations from the incoming config file (e.g,. RunEvery = "5m").
func (*Duration) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (*Duration) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
Click to show internal directories.
Click to hide internal directories.