Documentation ¶
Index ¶
- type RequestHandlerHelper
- type RequestHandlerSetter
- type RequestHandlerSetterMock
- func (r *RequestHandlerSetterMock) Body(value reflect.Value, request *http.Request) error
- func (r *RequestHandlerSetterMock) Header(value reflect.Value, request *http.Request, str string) error
- func (r *RequestHandlerSetterMock) Path(value reflect.Value, request *http.Request, str string) error
- func (r *RequestHandlerSetterMock) Query(value reflect.Value, request *http.Request, str string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestHandlerHelper ¶
func NewRequestHandlerHelper ¶
func NewRequestHandlerHelper(setter RequestHandlerSetter) RequestHandlerHelper
type RequestHandlerSetter ¶
type RequestHandlerSetter interface { Body(value reflect.Value, req *http.Request) error Header(value reflect.Value, req *http.Request, header string) error Path(value reflect.Value, req *http.Request, path string) error Query(value reflect.Value, req *http.Request, query string) error }
func NewRequestHandlerSetter ¶
func NewRequestHandlerSetter(factory encoder.Factory) RequestHandlerSetter
Click to show internal directories.
Click to hide internal directories.