package
0.0.0-20250118164806-5041dba8c4b1
Repository: https://github.com/go-lumen/lumen-api.git
Documentation: pkg.go.dev
# Functions
ExtractSigfoxAPIKeyFromFile allows parsing JSON file to retrieve SigfoxAPIKeys.
FromContext to get value from context.
GetBool allows to retrieve a specific bool.
GetInt allows to retrieve a specific int.
GetSigfoxAPIKeysFromAWS allows parsing secret file from AWS to retrieve SigfoxAPIKeys.
GetString allows to retrieve a specific string.
New allows to create a viper configuration.
RetrieveSigfoxAPIKey allows to retrieve a SigfoxAPIKey from a Sigfox Device ID.
Set allows to set a value.
ToContext to set value to context.
# Constants
StoreKey is configuration storage key.
# Structs
Conf type holds viper.
SigfoxAPIKey struct holds informations about Sigfox API Key.
SigfoxAPIKeys struct is an array of SigfoxAPIKey.
# Interfaces
Setter interface to set a string.