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 { DefaultChallengePageLimit int `yaml:"defaultChallengePageLimit"` HomeChallengePageLimit int `yaml:"homeChallengePageLimit"` SystemSummaryInterval int `yaml:"systemSummaryInterval"` SystemSummaryTimeout int `yaml:"systemSummaryTimeout"` DefaultTimeLayout string `yaml:"defaultTimeLayout"` MinProofCount int `yaml:"minProofCount"` 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
}
type PresetsConfig ¶
type ServerConfig ¶
func (*ServerConfig) GetAddress ¶
func (s *ServerConfig) GetAddress() string
type TelegramConfig ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.