Documentation ¶
Overview ¶
Package endpoint is a generated GoMock package.
Package endpoint is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEndpoint ¶
type MockEndpoint struct {
// contains filtered or unexported fields
}
MockEndpoint is a mock of Endpoint interface.
func NewMockEndpoint ¶
func NewMockEndpoint(ctrl *gomock.Controller) *MockEndpoint
NewMockEndpoint creates a new mock instance.
func (*MockEndpoint) EXPECT ¶
func (m *MockEndpoint) EXPECT() *MockEndpointMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEndpoint) Send ¶
func (m *MockEndpoint) Send(arg0 context.Context, arg1 *message.OutcomingMessage, arg2 ...endpoint.DeliveryOption) error
Send mocks base method.
type MockEndpointMockRecorder ¶
type MockEndpointMockRecorder struct {
// contains filtered or unexported fields
}
MockEndpointMockRecorder is the mock recorder for MockEndpoint.
func (*MockEndpointMockRecorder) Name ¶
func (mr *MockEndpointMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockEndpointMockRecorder) Send ¶
func (mr *MockEndpointMockRecorder) Send(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Send indicates an expected call of Send.
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) EXPECT ¶
func (m *MockRouter) EXPECT() *MockRouterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRouter) RegisterEndpoint ¶
func (m *MockRouter) RegisterEndpoint(arg0 endpoint.Endpoint, arg1 ...message.Object)
RegisterEndpoint mocks base method.
type MockRouterMockRecorder ¶
type MockRouterMockRecorder struct {
// contains filtered or unexported fields
}
MockRouterMockRecorder is the mock recorder for MockRouter.
func (*MockRouterMockRecorder) RegisterEndpoint ¶
func (mr *MockRouterMockRecorder) RegisterEndpoint(arg0 interface{}, arg1 ...interface{}) *gomock.Call
RegisterEndpoint indicates an expected call of RegisterEndpoint.
func (*MockRouterMockRecorder) Route ¶
func (mr *MockRouterMockRecorder) Route(arg0 interface{}) *gomock.Call
Route indicates an expected call of Route.