Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Server struct {
Port string `yaml:"port" env:"PORT" env-default:"2324"`
Host string `yaml:"host" env:"HOST" env-default:""`
LogLevel string `yaml:"loglevel" env:"LOGLEVEL" env-default:"ERROR"`
LiveURL string `yaml:"liveURL" env:"LIVEURL" env-default:"https://athle.live"`
} `yaml:"server"`
Mode string `yaml:"mode" env:"LVC_MODE" env-default:"cl"`
Directories struct {
CLRootDir string `yaml:"clrootdir" env:"CLROOTDIR" env-default:""`
CSVDir string `yaml:"cvsdir" env:"CVSDIR" env-default:""`
} `yaml:"directories"`
}
Config configuration variables
type JSONBodyChallenge ¶
type JSONBodyChallenge struct {
Token string `json:"token"`
ChOID string `json:"chOID"`
Date time.Time `json:"date"`
Duration int `json:"duration"`
}
JSONBodyChallenge params
type JSONConfig ¶
type JSONConfig struct {
LiveURL string `json:"liveURL"`
Mode string `json:"mode"`
CLRootDir string `json:"clRootDir"`
CVSDir string `json:"cvsDir"`
}
JSONConfig config for GUI
Click to show internal directories.
Click to hide internal directories.