handler

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(sr service.Repository) *Handler

func (*Handler) CreateOrder

func (h *Handler) CreateOrder(w http.ResponseWriter, req *http.Request)

Create Order

func (*Handler) GetOrder

func (h *Handler) GetOrder(w http.ResponseWriter, req *http.Request)

Get Order

func (*Handler) HealthEndpoint

func (h *Handler) HealthEndpoint(w http.ResponseWriter, req *http.Request)

HealthEndpoint for srv status

Jump to

Keyboard shortcuts

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