package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Sep 9, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
type Provider
-
func (p Provider) GetBool(appName, section, name string) (bool, error)
-
func (p Provider) GetFloat(appName, section, name string) (float64, error)
-
func (p Provider) GetInt(appName, section, name string) (int, error)
-
func (p Provider) GetString(appName, section, name string) (string, error)
GetBool gets bool from environment variable for specified parameters.
GetFloat gets float from environment variable for specified parameters.
GetInt gets int from environment variable for specified parameters.
GetString gets string from environment variable for specified parameters.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.