Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginResponse ¶
type LoginSerializer ¶
type LoginUserSerializer ¶
type OTPSerializer ¶
type RegisterSerializer ¶
type RoleResponse ¶
type User ¶
type User struct {
Name string `json:"name"`
Email string `json:"email"`
Password string `json:"password"`
IsActive int `json:"is_active"`
Token string `json:"token"`
RefreshToken string `json:"refresh_token"`
}
func (*User) UserResponse ¶
func (u *User) UserResponse() *LoginResponse
type VerifyOTPSerializer ¶
type VerifyOTPSerializer struct {
Code string `json:"code"`
}
Click to show internal directories.
Click to hide internal directories.