types

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryCollection

type CategoryCollection struct {
	Data  []*model.Category `json:"data"`
	Total int               `json:"total"`
}

type Login

type Login struct {
	Token string      `json:"token"`
	User  *model.User `json:"user"`
}

type ProductCollection

type ProductCollection struct {
	Data  []*model.Product `json:"data"`
	Total int              `json:"total"`
}

type Register

type Register struct {
	Email    string `json:"email"`
	Password string `json:"password"`
	Name     string `json:"name"`
	Lastname string `json:"lastname"`
	// Exec authentication on the register process
	Authenticate bool `json:"authenticate"`
}

Jump to

Keyboard shortcuts

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