package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Jan 24, 2021
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 GetUser struct {
UserID int `json:"userId"`
Firstname string `json:"firstname"`
Lastname string `json:"lastname"`
Mobile string `json:"mobile"`
Email string `json:"email"`
Created string `json:"created"`
Status string `json:"status"`
}
type Login struct {
Username string `json:"username"`
Password string `json:"password"`
}
type LoginData struct {
Status bool `json:"status"`
Code int `json:"code"`
Message string `json:"message"`
UserInfo *UserData `json:"userInfo"`
}
type NewUser struct {
Firstname string `json:"firstname"`
Lastname string `json:"lastname"`
Email string `json:"email"`
Password string `json:"password"`
Mobile string `json:"Mobile"`
}
type RefreshTokenInput struct {
Token string `json:"token"`
}
type Reset struct {
Password string `json:"password"`
}
type User struct {
ID int `json:"id"`
Name string `json:"name"`
}
type UserCreatedData struct {
Status bool `json:"status"`
Code int `json:"code"`
Message string `json:"message"`
UserInfo *UserData `json:"userInfo"`
}
type UserData struct {
UserID int `json:"UserId"`
Firstname string `json:"Firstname"`
Lastname string `json:"Lastname"`
Email string `json:"Email"`
Mobile string `json:"Mobile"`
Token string `json:"Token"`
CreatedDate string `json:"CreatedDate"`
Status string `json:"Status"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.