package config type PrometheusConfig struct { Url string `ini:"url" yaml:"url" mapstructure:"url"` AuthEnable bool `ini:"auth_enable" yaml:"auth_enable" mapstructure:"auth_enable"` User string `ini:"user" yaml:"user" mapstructure:"user"` Password string `ini:"password" yaml:"password" mapstructure:"password"` } var Prometheus = PrometheusConfig{ Url: "http://127.0.0.1:9090", AuthEnable: false, User: "admin", Password: "admin", }