Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnvInt ¶
GetEnvInt retrieves the given environment variable as an int and returns the given default if it is not set or a parsing error occurs
func GetEnvMillisAsDuration ¶
GetEnvMillisAsDuration attempts to retrieve the given environment variable represented in milliseconds and parse it into a time.Duration. If the variable is not set the given default is returned. If an error occurs it is logged and the default is returned
func RoundFloat32ToInt32 ¶
RoundFloat32ToInt32 the given float as per standard math rounding rules
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.