//
pkg.gl
Category
github.com/intel/rmd
utils
config
package
0.3.1
Repository:
https://github.com/intel/rmd.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
7
Files
112 SLOC
#
Functions
Init
Init does config initial.
NewConfig
NewConfig loads configurations from config file and pflag.
#
Constants
CAFile
CAFile is the certificate authority file.
CertFile
CertFile is the certificate file.
ClientCAFile
ClientCAFile certificate authority file of client side.
KeyFile
KeyFile is the rmd private key file.
#
Variables
ClientAuth
ClientAuth is a string to tls clientAuthType map.
#
Structs
Config
Config represent the configuration struct.
Database
Database represents data base configuration.
Debug
Debug configurations.
Default
Default is the configuration in default section of config file TODO consider create a new struct for TLSConfig.