Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultStoreFile = settings.EmpiricaDir + "/local/tajriba.json"
Variables ¶
This section is empty.
Functions ¶
func ConfigFlags ¶
ConfigFlags helps configure cobra and viper flags.
Types ¶
type Config ¶
type Config struct { Name string `mapstructure:"name"` Server *server.Config `mapstructure:"server"` Player *player.Config `mapstructure:"player"` Callbacks *callbacks.Config `mapstructure:"callbacks"` Tajriba *tajriba.Config `mapstructure:"tajriba"` Log *logger.Config `mapstructure:"log"` Production bool `mapstructure:"production"` }
Config is server configuration.
Click to show internal directories.
Click to hide internal directories.