Discover Packages
github.com/udhos/kubecloudconfigserver
env
package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Nov 8, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Bool extracts boolean value from env var.
It returns the provided defaultValue if the env var is empty.
The value returned is also recorded in logs.
Duration extracts time.Duration value from env var.
It returns the provided defaultValue if the env var is empty.
The value returned is also recorded in logs.
String extracts string from env var.
It returns the provided defaultValue if the env var is empty.
The string returned is also recorded in logs.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.