handler

package
v0.0.0-...-c3aa00c Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddOrderRequest

type AddOrderRequest struct {
	User     string `json:"user"`
	Item     string `json:"item"`
	Price    string `json:"price"`
	Quantity string `json:"quantity"`
}

type GetItemsRequest

type GetItemsRequest struct {
	User      string `json:"user"`
	OrderDate string `json:"order_date"`
}

type OrderHandler

type OrderHandler interface {
	MainHttpd()
	ShowOrders() gin.HandlerFunc
	AddOrders() gin.HandlerFunc
}

Jump to

Keyboard shortcuts

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