Documentation
¶
Index ¶
Constants ¶
View Source
const AppName = "ms-contact-manager"
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize()
func SetConfig ¶
func SetConfig(conf *MSCMConfig)
SetConfig bypasses the usual config override and validation behavior. It is intended to be used by unit tests.
Types ¶
type MSCMConfig ¶
type MSCMConfig struct {
Environment string `yaml:"environment"`
Key string `yaml:"key"`
SQLServer string `yaml:"SQLServer"`
SQLUsername string `yaml:"SQLUsername"`
SQLPassword string `yaml:"SQLPassword"`
}
var Config *MSCMConfig
Config for the micro-service
Click to show internal directories.
Click to hide internal directories.