Documentation ¶ Index ¶ func GetEnvDuration(key string) (time.Duration, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetEnvDuration ¶ func GetEnvDuration(key string) (time.Duration, error) GetEnvDuration returns the duration parsed from the environment variable with the given key and a potential error parsing the var. Returns false if the env var is unset. Types ¶ This section is empty. Source Files ¶ View all Source files util.go Click to show internal directories. Click to hide internal directories.