Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheValue ¶
type CacheValue struct {
// contains filtered or unexported fields
}
type Config ¶
type Config struct {
Prometheus ConfigPrometheus `yaml:"prometheus"`
Expressions []ConfigExperssion `yaml:"expressions"`
Cache ConfigCache
Http ConfigHttp `yaml:"http"`
}
type ConfigCache ¶
type ConfigCache struct {
Expiration int64 `yaml:"expire"`
}
type ConfigExperssion ¶
type ConfigHttp ¶
type ConfigHttp struct {
Addr string `yaml:"addr"`
}
type ConfigPrometheus ¶
type ConfigPrometheus struct {
Addr string `yaml:"addr"`
}
Click to show internal directories.
Click to hide internal directories.