Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
LoadConfig decrypts the given encrypted configuration file, loads the configuration, and then re-encrypts the file. It requires the encrypted config file name that ends with .crypt and the environment variable where the passkey is stored.
Types ¶
type ConfigFile ¶
func NewConfigFile ¶
func NewConfigFile(filePath string, environmentVar string) *ConfigFile
func (*ConfigFile) ProcessFile ¶
func (c *ConfigFile) ProcessFile() error
Click to show internal directories.
Click to hide internal directories.