package
Version:
v0.0.0-...-1bff6d3
Opens a new window with list of versions in this module.
Published: Jul 20, 2020
License: MIT
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 JwtToken struct {
Token string `json:"token"`
}
type Login struct {
Email string `json:"email",form:"email",bson:"email"`
Password string `json:"password",form:"password",bson:"password"`
}
type Response struct {
StatusCode int `json:"code"`
Message string `json:"message"`
}
type ResponseUsersList struct {
StatusCode int `json:"code"`
Message string `json:"message"`
Result []User `json:"result"`
}
type User struct {
FirstName string `json:"firstname",form:"firstname",bson:"firstname"`
LastName string `json:"lastname",form:"lastname",bson:"lastname"`
Email string `json:"email",form:"email",bson:"email"`
Password string `json:"password",form:"password",bson:"password"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.