Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRouter ¶
type MockRouter struct {
// contains filtered or unexported fields
}
MockRouter is a mock of Router interface
func NewMockRouter ¶
func NewMockRouter(ctrl *gomock.Controller) *MockRouter
NewMockRouter creates a new mock instance
func (*MockRouter) Choose ¶
func (_m *MockRouter) Choose(_param0 context.Context, _param1 *transport.Request, _param2 transport.Router) (transport.HandlerSpec, error)
Choose mocks base method
func (*MockRouter) EXPECT ¶
func (_m *MockRouter) EXPECT() *MockRouterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRouter) Procedures ¶
func (_m *MockRouter) Procedures(_param0 transport.Router) []transport.Procedure
Procedures mocks base method
type MockRouterMockRecorder ¶ added in v1.10.0
type MockRouterMockRecorder struct {
// contains filtered or unexported fields
}
MockRouterMockRecorder is the mock recorder for MockRouter
func (*MockRouterMockRecorder) Choose ¶ added in v1.10.0
func (_mr *MockRouterMockRecorder) Choose(arg0, arg1, arg2 interface{}) *gomock.Call
Choose indicates an expected call of Choose
func (*MockRouterMockRecorder) Procedures ¶ added in v1.10.0
func (_mr *MockRouterMockRecorder) Procedures(arg0 interface{}) *gomock.Call
Procedures indicates an expected call of Procedures
Click to show internal directories.
Click to hide internal directories.