Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ForgotPassword ¶
type ForgotPassword struct {
Username string `json:"username" example:"john@jivecode.com" validate:"required,email,lte=255"`
}
ForgotPassword struct to describe forgot password.
type RefreshToken ¶
type RefreshToken struct {
Token string `` /* 221-byte string literal not displayed */
}
RefreshToken struct to refresh JWT token.
type ResetPassword ¶
type ResetPassword struct {
Password string `json:"password" example:"M1PassW@s" validate:"required,gte=6"`
Token string `json:"token" example:"293r823or832eioj2eo9282o423" validate:"required,lte=255"`
}
ResetPassword struct to describe reset password.
type SignIn ¶
type SignIn struct {
Username string `` /* 169-byte string literal not displayed */
Password string `` /* 140-byte string literal not displayed */
}
SignIn struct to describe sign in user
type SignUp ¶
type SignUp struct {
Email string `` /* 157-byte string literal not displayed */
Password string `` /* 145-byte string literal not displayed */
Fullname string `` /* 132-byte string literal not displayed */
Phone string `` /* 132-byte string literal not displayed */
Avatar string `` /* 136-byte string literal not displayed */
Status string `json:"status" example:"pending" validate:"omitempty" doc:"The status of the user, optional field"`
}
SignUp struct to describe register a new user.
Click to show internal directories.
Click to hide internal directories.