Documentation ¶
Overview ¶
Package timing provides functions for parsing time configurations into time.Duration instances
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTimeout ¶
GetTimeout converts a properly formatted string to a Duration, returning an error if the Duration can't be parsed
func ParseDuration ¶
ParseDuration parses the given duration with multiple type support int (defaults to seconds) string with units string without units (default to seconds)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.