globals

package
v0.0.0-...-4436486 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var APIVersion = "1.0"

APIVersion is route api version. See also routes and routers \todo: Add support for multiple versions.

View Source
var FlagsEmailRecipient string

FlagsEmailRecipient is the target email to use when sending flags notifications. It is set using IGN_FLAGS_EMAIL_TO env var.

View Source
var FlagsEmailSender string

FlagsEmailSender is the sender email to use when sending flags notifications. It is set using IGN_FLAGS_EMAIL_FROM env var.

View Source
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

View Source
var LeaderboardCircuitFilter []string

LeaderboardCircuitFilter contains a list of comma-separated circuits that will be excluded from leaderboard score results.

View Source
var LeaderboardOrganizationFilter []string

LeaderboardOrganizationFilter contains a list of comma-separated organizations that will be excluded from leaderboard score results.

Permissions manages permissions for users, roles and resources.

View Source
var ResourceDir string

ResourceDir is the directory where all resources are located.

View Source
var Server *ign.Server

Server encapsulates database, router, and auth0

View Source
var VCSRepoFactory (func(ctx context.Context, dirpath string) vcs.VCS)

VCSRepoFactory is the factory function used to create new repositories to manage versions of Models, Worlds, Plugins, etc. Our current implementation uses go-git.

View Source
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL