Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockHTTPRouter
- func (m *MockHTTPRouter) EXPECT() *MockHTTPRouterMockRecorder
- func (m *MockHTTPRouter) GET(path string, handler router.HandlerFunc)
- func (m *MockHTTPRouter) OPTIONS(path string, handler router.HandlerFunc)
- func (m *MockHTTPRouter) POST(path string, handler router.HandlerFunc)
- func (m *MockHTTPRouter) PUT(path string, handler router.HandlerFunc)
- type MockHTTPRouterMockRecorder
- func (mr *MockHTTPRouterMockRecorder) GET(path, handler interface{}) *gomock.Call
- func (mr *MockHTTPRouterMockRecorder) OPTIONS(path, handler interface{}) *gomock.Call
- func (mr *MockHTTPRouterMockRecorder) POST(path, handler interface{}) *gomock.Call
- func (mr *MockHTTPRouterMockRecorder) PUT(path, handler interface{}) *gomock.Call
- type MockRegistrator
- func (m *MockRegistrator) AddMiddlewareWrapper(wrapper ...middleware.Wrapper) router.Registrator
- func (m *MockRegistrator) EXPECT() *MockRegistratorMockRecorder
- func (m *MockRegistrator) Register(method, path string, handler router.HandlerFunc)
- func (m *MockRegistrator) ServeHTTP(arg0 http.ResponseWriter, arg1 *http.Request)
- type MockRegistratorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHTTPRouter ¶
type MockHTTPRouter struct {
// contains filtered or unexported fields
}
MockHTTPRouter is a mock of HTTPRouter interface.
func NewMockHTTPRouter ¶
func NewMockHTTPRouter(ctrl *gomock.Controller) *MockHTTPRouter
NewMockHTTPRouter creates a new mock instance.
func (*MockHTTPRouter) EXPECT ¶
func (m *MockHTTPRouter) EXPECT() *MockHTTPRouterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHTTPRouter) GET ¶
func (m *MockHTTPRouter) GET(path string, handler router.HandlerFunc)
GET mocks base method.
func (*MockHTTPRouter) OPTIONS ¶
func (m *MockHTTPRouter) OPTIONS(path string, handler router.HandlerFunc)
OPTIONS mocks base method.
func (*MockHTTPRouter) POST ¶
func (m *MockHTTPRouter) POST(path string, handler router.HandlerFunc)
POST mocks base method.
func (*MockHTTPRouter) PUT ¶
func (m *MockHTTPRouter) PUT(path string, handler router.HandlerFunc)
PUT mocks base method.
type MockHTTPRouterMockRecorder ¶
type MockHTTPRouterMockRecorder struct {
// contains filtered or unexported fields
}
MockHTTPRouterMockRecorder is the mock recorder for MockHTTPRouter.
func (*MockHTTPRouterMockRecorder) GET ¶
func (mr *MockHTTPRouterMockRecorder) GET(path, handler interface{}) *gomock.Call
GET indicates an expected call of GET.
func (*MockHTTPRouterMockRecorder) OPTIONS ¶
func (mr *MockHTTPRouterMockRecorder) OPTIONS(path, handler interface{}) *gomock.Call
OPTIONS indicates an expected call of OPTIONS.
func (*MockHTTPRouterMockRecorder) POST ¶
func (mr *MockHTTPRouterMockRecorder) POST(path, handler interface{}) *gomock.Call
POST indicates an expected call of POST.
func (*MockHTTPRouterMockRecorder) PUT ¶
func (mr *MockHTTPRouterMockRecorder) PUT(path, handler interface{}) *gomock.Call
PUT indicates an expected call of PUT.
type MockRegistrator ¶
type MockRegistrator struct {
// contains filtered or unexported fields
}
MockRegistrator is a mock of Registrator interface.
func NewMockRegistrator ¶
func NewMockRegistrator(ctrl *gomock.Controller) *MockRegistrator
NewMockRegistrator creates a new mock instance.
func (*MockRegistrator) AddMiddlewareWrapper ¶
func (m *MockRegistrator) AddMiddlewareWrapper(wrapper ...middleware.Wrapper) router.Registrator
AddMiddlewareWrapper mocks base method.
func (*MockRegistrator) EXPECT ¶
func (m *MockRegistrator) EXPECT() *MockRegistratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRegistrator) Register ¶
func (m *MockRegistrator) Register(method, path string, handler router.HandlerFunc)
Register mocks base method.
func (*MockRegistrator) ServeHTTP ¶
func (m *MockRegistrator) ServeHTTP(arg0 http.ResponseWriter, arg1 *http.Request)
ServeHTTP mocks base method.
type MockRegistratorMockRecorder ¶
type MockRegistratorMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistratorMockRecorder is the mock recorder for MockRegistrator.
func (*MockRegistratorMockRecorder) AddMiddlewareWrapper ¶
func (mr *MockRegistratorMockRecorder) AddMiddlewareWrapper(wrapper ...interface{}) *gomock.Call
AddMiddlewareWrapper indicates an expected call of AddMiddlewareWrapper.
func (*MockRegistratorMockRecorder) Register ¶
func (mr *MockRegistratorMockRecorder) Register(method, path, handler interface{}) *gomock.Call
Register indicates an expected call of Register.
func (*MockRegistratorMockRecorder) ServeHTTP ¶
func (mr *MockRegistratorMockRecorder) ServeHTTP(arg0, arg1 interface{}) *gomock.Call
ServeHTTP indicates an expected call of ServeHTTP.