Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var APIVersion = "1.0"
APIVersion is route api version. See also routes and routers \todo: Add support for multiple versions.
var FlagsEmailRecipient string
FlagsEmailRecipient is the target email to use when sending flags notifications. It is set using IGN_FLAGS_EMAIL_TO env var.
var FlagsEmailSender string
FlagsEmailSender is the sender email to use when sending flags notifications. It is set using IGN_FLAGS_EMAIL_FROM env var.
var FormDecoder *form.Decoder
FormDecoder holds a reference to the global Form Decoder. See https://github.com/go-playground/form. We use a single instance of Decoder, as it caches struct info
var LeaderboardCircuitFilter []string
LeaderboardCircuitFilter contains a list of comma-separated circuits that will be excluded from leaderboard score results.
var LeaderboardOrganizationFilter []string
LeaderboardOrganizationFilter contains a list of comma-separated organizations that will be excluded from leaderboard score results.
var Permissions *permissions.Permissions
Permissions manages permissions for users, roles and resources.
var ResourceDir string
ResourceDir is the directory where all resources are located.
var Server *ign.Server
Server encapsulates database, router, and auth0
VCSRepoFactory is the factory function used to create new repositories to manage versions of Models, Worlds, Plugins, etc. Our current implementation uses go-git.
var Validate *validator.Validate
Validate references the global structs validator. See https://github.com/go-playground/validator. We use a single instance of validator, as it caches struct info
Functions ¶
This section is empty.
Types ¶
This section is empty.