| 12345678910111213141516171819202122232425262728293031323334353637383940 | package config// Config our service configurationtype Config struct {	//port of the http server	Port int `yaml:"port"`	//port of the https server	Sslport int `yaml:"sslport"`	//this is the url how to connect to this service from outside	ServiceURL string `yaml:"serviceURL"`	//this is the url where to register this service	RegistryURL string `yaml:"registryURL"`	//this is the url where to register this service	SystemID string `yaml:"systemID"`	SecretFile string  `yaml:"secretfile"`	Logging    Logging `yaml:"logging"`	HealthCheck HealthCheck `yaml:"healthcheck"`	MongoDB MongoDB `yaml: "mongodb"`}type Logging struct {	Gelfurl  string `yaml:"gelf-url"`	Gelfport int    `yaml:"gelf-port"`}type HealthCheck struct {	Period int `yaml:"period"`}type MongoDB struct {	Host     string `yaml:"host"`	Port     int    `yaml:"port"`	Username string `yaml:"username"`	Password string `yaml:"password"`	AuthDB   string `yaml:"authdb"`	Database string `yaml:"database"`}
 |