forked from TrueCloudLab/neoneo-go
dc59dc991b
Config package should be as lightweight as possible and now it depends on the whole metrics package just to get one structure from it.
8 lines
222 B
Go
8 lines
222 B
Go
package config
|
|
|
|
// BasicService is used for simple services like Pprof or Prometheus monitoring.
|
|
type BasicService struct {
|
|
Enabled bool `yaml:"Enabled"`
|
|
Address string `yaml:"Address"`
|
|
Port string `yaml:"Port"`
|
|
}
|