Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { DefaultObservationLimit int `yaml:"defaultObservationLimit"` MaxCorrelationObservations int `yaml:"maxCorrelationObservations"` MinCorrelationObservations int `yaml:"minCorrelationObservations"` UpdateCorrelationsBuffer int `yaml:"updateCorrelationsBuffer"` UpdateAggregationsBuffer int `yaml:"updateAggregationsBuffer"` MaxWeekAggregationObservations int `yaml:"maxWeekAggregationObservations"` MaxMonthAggregationObservations int `yaml:"maxMonthAggregationObservations"` }
type AuthConfig ¶
type Config ¶
type Config struct { Env string DB DBConfig Server ServerConfig Auth AuthConfig App AppConfig Job JobConfig External ExternalConfig Data DataConfig }
func ReadConfigs ¶
type DataConfig ¶ added in v0.0.7
type DataConfig struct {
Presets PresetsConfig
}
type ExternalConfig ¶ added in v0.0.5
type ExternalConfig struct {
Telegram TelegramConfig
}
type JobConfig ¶ added in v0.0.5
type JobConfig struct {
GatherAndSendServiceStatsSchedule string `yaml:"gatherAndSendServiceStatsSchedule"`
}
type PresetsConfig ¶ added in v0.0.7
type ServerConfig ¶
func (*ServerConfig) GetAddress ¶
func (s *ServerConfig) GetAddress() string
type TelegramConfig ¶ added in v0.0.5
Source Files
¶
Click to show internal directories.
Click to hide internal directories.