config

package
v0.0.0-...-78411ff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigFile

func GetConfigFile() string

GetConfigFile returns the current config file

func InitConfig

func InitConfig(cfgFile string, gfAuth *auth.Auth) error

InitConfig reads in config file and ENV variables if set.

func SaveConfig

func SaveConfig(gfAuth *auth.Auth) error

SaveConfig writes authentication into Viper config file

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL