handler

package
v0.0.0-...-8a54597 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 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 ChiHandler

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

func NewChiHandler

func NewChiHandler(ps port.Service) *ChiHandler

func (*ChiHandler) CreatePerson

func (h *ChiHandler) CreatePerson(w http.ResponseWriter, r *http.Request)

func (*ChiHandler) DeletePerson

func (h *ChiHandler) DeletePerson(w http.ResponseWriter, r *http.Request)

func (*ChiHandler) GetPerson

func (h *ChiHandler) GetPerson(w http.ResponseWriter, r *http.Request)

func (*ChiHandler) GetPersons

func (h *ChiHandler) GetPersons(w http.ResponseWriter, r *http.Request)

func (*ChiHandler) UpdatePerson

func (h *ChiHandler) UpdatePerson(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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