package
Version:
v1.0.6
Opens a new window with list of versions in this module.
Published: Mar 12, 2024
License: Apache-2.0
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
¶
Home Find home directory.
InitConfig generates a Viper config file with the provided object key and secret.
UpdateConfig update config file new object key and secret.
type Config struct {
Key string `mapstructure:"key"`
Secret string `mapstructure:"secret"`
}
readConfigFile reads the configuration from the file and returns the Config struct.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.