Documentation ¶
Index ¶
Constants ¶
View Source
const (
// MONGODB NAME FOR GBA ACCOUNT/SAVE DATA
GBADB = "azgba_test1"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GBASave ¶
type GBASave struct { ID string `json:"id" bson:"_id"` Owner string `json:"owner" bson:"owner"` Name string `json:"name" bson:"name"` Save []byte `json:"save" bson:"save"` LastUpdate int64 `json:"last_update" bson:"last_update,omitempty"` }
func NewGBASave ¶
type JWTCustomClaims ¶
type User ¶
type User struct { ID bson.ObjectId `json:"id" bson:"_id,omitempty"` Email string `json:"email" bson:"email"` Password string `json:"password,omitempty" bson:"password"` UserName string `json:"username,omitempty" bson:"username"` Token string `json:"token,omitempty" bson:"-"` Saves []GBASave `json:"saves,omitempty" bson:"saves,omitempty"` }
Click to show internal directories.
Click to hide internal directories.