Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMetricFrequency ¶ added in v1.5.0
func GetMetrics ¶ added in v1.5.0
func GetMetrics() map[string]metricstore.MetricConfig
func Init ¶
func Init(mainConfig json.RawMessage)
func InitMetrics ¶ added in v1.5.0
func InitMetrics(metricConfig json.RawMessage)
func Validate ¶ added in v1.5.0
func Validate(schema string, instance json.RawMessage)
Types ¶
type Config ¶
type Config struct {
Address string `json:"addr"`
CertFile string `json:"https-cert-file"`
KeyFile string `json:"https-key-file"`
User string `json:"user"`
Group string `json:"group"`
BackendURL string `json:"backend-url"`
Debug struct {
DumpToFile string `json:"dump-to-file"`
EnableGops bool `json:"gops"`
} `json:"debug"`
JwtPublicKey string `json:"jwt-public-key"`
}
var Keys Config
Click to show internal directories.
Click to hide internal directories.