Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHandlerMapper ¶ added in v0.2.0
MockHandlerMapper is for mocking
type MockIOMapper ¶ added in v0.2.0
MockIOMapper is for mocking
func (*MockIOMapper) MapRequest ¶ added in v0.2.0
func (i *MockIOMapper) MapRequest(req *goHttp.Request) (*adapterHttp.Request, error)
MapRequest is for mocking
func (*MockIOMapper) MapResponse ¶ added in v0.2.0
func (i *MockIOMapper) MapResponse(adapterRes *adapterHttp.Response, goRes goHttp.ResponseWriter)
MapResponse is for mocking
type MockWrapper ¶ added in v0.2.0
MockWrapper is for mocking
func (*MockWrapper) NewRouter ¶ added in v0.2.0
func (w *MockWrapper) NewRouter() muxDriver.Router
NewRouter is for mocking
type RouterMock ¶
RouterMock is for mocking
func (*RouterMock) HandleFunc ¶
HandleFunc is for mocking
func (*RouterMock) ServeHTTP ¶
func (r *RouterMock) ServeHTTP(res goHttp.ResponseWriter, req *goHttp.Request)
ServeHTTP is for mocking
Click to show internal directories.
Click to hide internal directories.