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
}
func ReadConfigs ¶
type ServerConfig ¶
func (*ServerConfig) GetAddress ¶
func (s *ServerConfig) GetAddress() string
Click to show internal directories.
Click to hide internal directories.