package
Version:
v0.0.0-...-ecac287
Opens a new window with list of versions in this module.
Published: Nov 10, 2020
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Authenticate struct {
Email string `json:"email"`
Password string `json:"password"`
}
type RefreshToken struct {
OldToken string `json:"oldToken"`
}
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 struct {
Jwt string `json:"jwt"`
}
type User struct {
ID string `json:"_id"`
Username string `json:"username"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.