inventory

package
v0.0.0-...-576dde9 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const InvCTXKey contextKey = "inventory_payload"

Variables

This section is empty.

Functions

This section is empty.

Types

type InventoryApp

type InventoryApp struct {
	// contains filtered or unexported fields
}

func (*InventoryApp) Start

func (a *InventoryApp) Start(ctx context.Context) error

type InventoryHandler

type InventoryHandler struct {
	// contains filtered or unexported fields
}

func (*InventoryHandler) CheckAvailability

func (h *InventoryHandler) CheckAvailability(w http.ResponseWriter, r *http.Request)

func (*InventoryHandler) CreateInventory

func (h *InventoryHandler) CreateInventory(w http.ResponseWriter, r *http.Request)

func (*InventoryHandler) DecrementInventory

func (h *InventoryHandler) DecrementInventory(w http.ResponseWriter, r *http.Request)

func (*InventoryHandler) GetInventory

func (h *InventoryHandler) GetInventory(w http.ResponseWriter, r *http.Request)

func (*InventoryHandler) IncrementInventory

func (h *InventoryHandler) IncrementInventory(w http.ResponseWriter, r *http.Request)

func (*InventoryHandler) MiddlewareValidateInventory

func (h *InventoryHandler) MiddlewareValidateInventory(next http.Handler) http.Handler

Jump to

Keyboard shortcuts

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