model

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetUser

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

type Login struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type LoginData

type LoginData struct {
	Status   bool      `json:"status"`
	Code     int       `json:"code"`
	Message  string    `json:"message"`
	UserInfo *UserData `json:"userInfo"`
}

type NewUser

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

type RefreshTokenInput struct {
	Token string `json:"token"`
}

type Reset

type Reset struct {
	Password string `json:"password"`
}

type User

type User struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
}

type UserCreatedData

type UserCreatedData struct {
	Status   bool      `json:"status"`
	Code     int       `json:"code"`
	Message  string    `json:"message"`
	UserInfo *UserData `json:"userInfo"`
}

type UserData

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL