gba

package
v0.0.0-...-a4a6259 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GBAContext

type GBAContext struct {
	Core              string
	CoreFileNames     []string
	PreFrontEndFiles  string
	FrontEndFileNames []string
	GamesListStr      string
	GameTemplateStr   string
	FuncMap           template.FuncMap
}
var (
	MainContext GBAContext
)

func New

func New(corePrepend string, coreFileLocations []string, frontFilePrepend string,
	frontFileLocations []string, gamesListStr string, gameTemplateStr string,
	funcsMap template.FuncMap) GBAContext

type JWTCustomClaims

type JWTCustomClaims struct {
	Name  string        `json:"name"`
	Admin bool          `json:"admin"`
	ID    bson.ObjectId `json:"id"`
	Exp   int64         `json:"exp"`
	jwt.StandardClaims
}

JWTCustomClaims are custom claims; extended default claims.

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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