Documentation
¶
Index ¶
Constants ¶
View Source
const LiveSessionName = "go-live-session"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct {
SystemSummarySchedule string `yaml:"systemSummarySchedule"`
SystemSummaryTimeout int `yaml:"systemSummaryTimeout"`
UpdateNormsSchedule string `yaml:"updateNormsSchedule"`
UpdateNormsTimeout int `yaml:"updateNormsTimeout"`
UpdateMarksSchedule string `yaml:"updateMarksSchedule"`
UpdateMarksTimeout int `yaml:"updateMarksTimeout"`
UpdateDurationsSchedule string `yaml:"updateDurationsSchedule"`
UpdateDurationsTimeout int `yaml:"updateDurationsTimeout"`
DefaultTimeLayout string `yaml:"defaultTimeLayout"`
Version string `yaml:"version"`
}
type AuthConfig ¶
type Config ¶
type Config struct {
Env string
DB DBConfig
Auth AuthConfig
Server ServerConfig
Data DataConfig
External ExternalConfig
App AppConfig
Debug DebugConfig
}
func ReadConfigs ¶
type DataConfig ¶
type DataConfig struct {
Presets PresetsConfig
}
type DebugConfig ¶
type DebugConfig struct {
LogDBQueries bool `yaml:"logDBQueries"`
}
type ExternalConfig ¶
type ExternalConfig struct {
Telegram TelegramConfig
Sendinblue SendinblueConfig `yaml:"sendinblue"`
}
type PresetsConfig ¶
type SendinblueConfig ¶
type SendinblueConfig struct {
Key string `yaml:"key"`
}
type ServerConfig ¶
func (*ServerConfig) GetAddress ¶
func (s *ServerConfig) GetAddress() string
type TelegramConfig ¶
Click to show internal directories.
Click to hide internal directories.