model

package
v0.0.0-...-ecac287 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticate

type Authenticate struct {
	Email    string `json:"email"`
	Password string `json:"password"`
}

type RefreshToken

type RefreshToken struct {
	OldToken string `json:"oldToken"`
}

type RegisterInput

type RegisterInput struct {
	Fname           string `json:"fname"`
	Lname           string `json:"lname"`
	Email           string `json:"email"`
	Username        string `json:"username"`
	Password        string `json:"password"`
	ConfirmPassword string `json:"confirmPassword"`
}

type Token

type Token struct {
	Jwt string `json:"jwt"`
}

type User

type User struct {
	ID       string `json:"_id"`
	Username string `json:"username"`
}

Jump to

Keyboard shortcuts

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