1234567891011121314151617181920212223242526272829 |
- package config
- type Config struct {
-
- Port int `yaml:"port"`
-
- Sslport int `yaml:"sslport"`
-
- ServiceURL string `yaml:"serviceURL"`
-
- RegistryURL string `yaml:"registryURL"`
-
- SystemID string `yaml:"systemID"`
- SecretFile string `yaml:"secretfile"`
- Logging Logging `yaml:"logging"`
- HealthCheck HealthCheck `yaml:"healthcheck"`
- }
- type Logging struct {
- Gelfurl string `yaml:"gelf-url"`
- Gelfport int `yaml:"gelf-port"`
- }
- type HealthCheck struct {
- Period int `yaml:"period"`
- }
|