mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 13:41:37 +00:00
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"`
|
|
}
|