Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "develop" BuildTime string BuildCommit string )
Build time and commit information. It should only be set by "-ldflags".
View Source
var ( // App is the application settings. App struct { Name string Version string `toml:"-"` // Version should only be set by the main package. Language string HTTPAddr string SeparateFrontend bool EnableSentry bool SecuritySalt string } // Database is the database settings. Database struct { Type string Host string Port uint Name string User string Password string SSLMode string MaxOpenConns int MaxIdleConns int } // Game is the game settings. Game struct { StartAt toml.LocalDateTime EndAt toml.LocalDateTime PauseTime []Period RoundDuration uint FlagPrefix string FlagSuffix string AttackScore int CheckDownScore int } )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.