Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var APPNAME = "myapp"
View Source
var SecretFieldNames = []string{"Username", "Credential", "URL", "LastUpdate", "LastUpdateBy", "Comment"}
View Source
var SecretHumanFieldNames = []string{"Username", "Credential", "URL", "Comment"}
View Source
var User = func() string { if os.Getenv("USER") != "" { return os.Getenv("USER") } return "unknown" }()
User is the user running the application
View Source
var VAULTURL = "https://127.0.0.1:8200"
Functions ¶
func ReadAPPNAME ¶
func ReadAPPNAME() string
read APPNAME from environment variable, configuration file or use default
func ReadCertificateName ¶
func ReadCertificateName() string
read certificate name from environment variable, configuration file or use default
func ReadMountPath ¶
func ReadMountPath() string
read mountpath from environment variable, configuration file or use default
func ReadVaultURL ¶
func ReadVaultURL() string
read VAULTURL from environment variable, configuration file or use default
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.