types

package
v0.0.0-...-9a10ecf Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginAttempt

type LoginAttempt struct {
	Username string `json:"user"`
	Password string `json:"pass"`
}

LoginAttempt is the struct that stores all data from a login attempt.

type UserData

type UserData struct {
	Username       string `json:"user" bson:"username"`
	Password       string `json:"pass" bson:"password"`
	RepeatPassword string `json:"passcheck"`
	UserID         string `bson:"userID"`
	HighestScore   int    `bson:"highest-score"`
}

UserData is the strucht that holds all data from user from MongoDB.

Jump to

Keyboard shortcuts

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