Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetConfig ¶
type GetConfig interface {
Logger() Logger
}
GetConfig is the config for the Get Handler
type GetHandler ¶
type GetHandler struct {
// contains filtered or unexported fields
}
GetHandler is the HTTP handler for the "Get Person" endpoint
func NewGetHandler ¶
func NewGetHandler(cfg GetConfig, model GetModel, formatter Formatter) *GetHandler
NewGetHandler is the constructor for GetHandler
func (*GetHandler) ServeHTTP ¶
func (h *GetHandler) ServeHTTP(response http.ResponseWriter, request *http.Request)
ServeHTTP implements http.Handler
Click to show internal directories.
Click to hide internal directories.