controller

package
v0.0.0-...-80f30d8 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2025 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachOrderController

func AttachOrderController(
	mux *mux.Router,
	service *service.OrderService,
	queue chan<- request.CreateOrder,
)

Types

type OrderController

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

func (OrderController) Checkout

func (ctrl OrderController) Checkout(w http.ResponseWriter, r *http.Request)

func (OrderController) FindOrderById

func (ctrl OrderController) FindOrderById(w http.ResponseWriter, r *http.Request)

func (OrderController) FindOrders

func (ctrl OrderController) FindOrders(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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