handlers

package
v0.0.0-...-7fc8bb1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyProduct

type KeyProduct struct{}

type Products

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

func NewProducts

func NewProducts(l *log.Logger) *Products

func (*Products) AddProduct

func (p *Products) AddProduct(w http.ResponseWriter, r *http.Request)

func (*Products) GetProduct

func (p *Products) GetProduct(w http.ResponseWriter, r *http.Request)

func (Products) MiddlewareValidateProduct

func (p Products) MiddlewareValidateProduct(next http.Handler) http.Handler

func (*Products) UpdateProducts

func (p *Products) UpdateProducts(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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