Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChiHandler ¶
type ChiHandler struct {
// contains filtered or unexported fields
}
func NewChiHandler ¶
func NewChiHandler(ps port.Service, sp string) *ChiHandler
func (*ChiHandler) CreatePerson ¶
func (h *ChiHandler) CreatePerson(w http.ResponseWriter, r *http.Request)
func (*ChiHandler) GetPersonByID ¶
func (h *ChiHandler) GetPersonByID(w http.ResponseWriter, r *http.Request)
func (*ChiHandler) GetPersons ¶
func (h *ChiHandler) GetPersons(w http.ResponseWriter, r *http.Request)
func (*ChiHandler) RunChiServer ¶
func (h *ChiHandler) RunChiServer()
func (ChiHandler) SetupChiRoutes ¶
func (h ChiHandler) SetupChiRoutes()
Click to show internal directories.
Click to hide internal directories.