Documentation ¶
Index ¶
- type ChiHandler
- func (h *ChiHandler) CreatePerson(w http.ResponseWriter, r *http.Request)
- func (h *ChiHandler) DeletePerson(w http.ResponseWriter, r *http.Request)
- func (h *ChiHandler) GetPerson(w http.ResponseWriter, r *http.Request)
- func (h *ChiHandler) GetPersons(w http.ResponseWriter, r *http.Request)
- func (h *ChiHandler) UpdatePerson(w http.ResponseWriter, r *http.Request)
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)
Click to show internal directories.
Click to hide internal directories.