Documentation ¶
Index ¶
- func HttprouterParamGetterFunc(param string, req *http.Request) (paramValue string, err error)
- type HttpRouterHandler
- func (h *HttpRouterHandler) Create(model interface{}) httprouter.Handle
- func (h *HttpRouterHandler) Delete(model interface{}) httprouter.Handle
- func (h *HttpRouterHandler) Get(model interface{}) httprouter.Handle
- func (h *HttpRouterHandler) List(model interface{}) httprouter.Handle
- func (h *HttpRouterHandler) New() *HttpRouterHandler
- func (h *HttpRouterHandler) Patch(model interface{}) httprouter.Handle
- func (h *HttpRouterHandler) Update(model interface{}) httprouter.Handle
- func (h *HttpRouterHandler) WithParamPolicy(policy *forms.ParamPolicy) *HttpRouterHandler
- func (h *HttpRouterHandler) WithQueryPolicy(policy *forms.BindPolicy) *HttpRouterHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HttpRouterHandler ¶
type HttpRouterHandler struct {
handlers.GenericHandler
}
func New ¶
func New( repo repository.Repository, errHandler *errhandler.ErrorHandler, body response.Responser, logs logger.ExtendedLeveledLogger, ) (*HttpRouterHandler, error)
func (*HttpRouterHandler) Create ¶
func (h *HttpRouterHandler) Create(model interface{}) httprouter.Handle
func (*HttpRouterHandler) Delete ¶
func (h *HttpRouterHandler) Delete(model interface{}) httprouter.Handle
func (*HttpRouterHandler) Get ¶
func (h *HttpRouterHandler) Get(model interface{}) httprouter.Handle
func (*HttpRouterHandler) List ¶
func (h *HttpRouterHandler) List(model interface{}) httprouter.Handle
func (*HttpRouterHandler) New ¶
func (h *HttpRouterHandler) New() *HttpRouterHandler
func (*HttpRouterHandler) Patch ¶
func (h *HttpRouterHandler) Patch(model interface{}) httprouter.Handle
func (*HttpRouterHandler) Update ¶
func (h *HttpRouterHandler) Update(model interface{}) httprouter.Handle
func (*HttpRouterHandler) WithParamPolicy ¶
func (h *HttpRouterHandler) WithParamPolicy(policy *forms.ParamPolicy) *HttpRouterHandler
func (*HttpRouterHandler) WithQueryPolicy ¶
func (h *HttpRouterHandler) WithQueryPolicy(policy *forms.BindPolicy) *HttpRouterHandler
Click to show internal directories.
Click to hide internal directories.