Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseFailedResponse ¶
type BaseFailedResponse struct {
Error string `json:"error"`
}
type BaseObject ¶
type BaseSuccessResponse ¶
type BaseSuccessResponse struct {
Message string `json:"message"`
}
type JwtCustomClaims ¶
type User ¶
type User struct { ID string `json:"id"` Firstname string `json:"first_name" form:"first_name"` Lastname string `json:"last_name" form:"last_name"` Alias string `json:"alias" form:"alias"` Email string `json:"email" form:"email"` Username string `json:"username" form:"username"` Password string `json:"password" form:"password"` HashedPassword string `json:"hashed_password" form:"hashed_password"` DateofBirth time.Time `json:"date_of_birth" form:"date_of_birth"` BaseObject }
type UserLoginForm ¶
type UserLoginResponse ¶
type UserLoginResponse struct {
Token string `json:"token"`
}
type UserSignUpForm ¶
type UserSignUpForm struct { Firstname string `json:"first_name" form:"first_name"` Lastname string `json:"last_name" form:"last_name"` Email string `json:"email" form:"email"` Username string `json:"username" form:"username"` Password string `json:"password" form:"password"` Alias string `json:"alias" form:"alias"` DateofBirth time.Time `json:"date_of_birth" form:"date_of_birth"` }
type UserSignupResponse ¶
type UserSignupResponse struct { Firstname string `json:"first_name"` Lastname string `json:"last_name"` Email string `json:"email"` HashedPassword string `json:"hashed_password"` BaseObject }
Click to show internal directories.
Click to hide internal directories.