package
Version:
v0.0.0-...-fc131ae
Opens a new window with list of versions in this module.
Published: May 8, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Info struct {
Name string `json:"name"`
}
type JwtCustomClaims struct {
Name string `json:"name"`
ID string `json:"id"`
jwt.StandardClaims
}
type JwtCustomRefreshClaims struct {
ID string `json:"id"`
jwt.StandardClaims
}
type LoginRequest struct {
Email string `json:"email" binding:"required,email"`
Password string `json:"password" binding:"required"`
}
type RegisterRequest struct {
Name string `json:"name" binding:"required,min=2,max=30"`
Email string `json:"email" binding:"required,email"`
Password string `json:"password" binding:"required,min=6"`
ConfirmPassword string `json:"confirm_password" binding:"required,min=6"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.