Documentation ¶
Overview ¶
Package mock_service is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) MarkMessageAsProcessed(ctx context.Context, id uuid.UUID) error
- func (m *MockInterface) MessageChan() chan dto.MessageID
- func (m *MockInterface) ProcessMessage(ctx context.Context, msg message.Message) (uuid.UUID, error)
- func (m *MockInterface) ProcessedCountStatistic(ctx context.Context) (dto.Processed, error)
- func (m *MockInterface) SaveUnsentMessage(arg0 dto.MessageID) error
- func (m *MockInterface) Statistic() dto.Statistic
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) MarkMessageAsProcessed(ctx, id interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) MessageChan() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ProcessMessage(ctx, msg interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ProcessedCountStatistic(ctx interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SaveUnsentMessage(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Statistic() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) MarkMessageAsProcessed ¶
MarkMessageAsProcessed mocks base method.
func (*MockInterface) MessageChan ¶
func (m *MockInterface) MessageChan() chan dto.MessageID
MessageChan mocks base method.
func (*MockInterface) ProcessMessage ¶
ProcessMessage mocks base method.
func (*MockInterface) ProcessedCountStatistic ¶
ProcessedCountStatistic mocks base method.
func (*MockInterface) SaveUnsentMessage ¶
func (m *MockInterface) SaveUnsentMessage(arg0 dto.MessageID) error
SaveUnsentMessage mocks base method.
func (*MockInterface) Statistic ¶
func (m *MockInterface) Statistic() dto.Statistic
Statistic mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) MarkMessageAsProcessed ¶
func (mr *MockInterfaceMockRecorder) MarkMessageAsProcessed(ctx, id interface{}) *gomock.Call
MarkMessageAsProcessed indicates an expected call of MarkMessageAsProcessed.
func (*MockInterfaceMockRecorder) MessageChan ¶
func (mr *MockInterfaceMockRecorder) MessageChan() *gomock.Call
MessageChan indicates an expected call of MessageChan.
func (*MockInterfaceMockRecorder) ProcessMessage ¶
func (mr *MockInterfaceMockRecorder) ProcessMessage(ctx, msg interface{}) *gomock.Call
ProcessMessage indicates an expected call of ProcessMessage.
func (*MockInterfaceMockRecorder) ProcessedCountStatistic ¶
func (mr *MockInterfaceMockRecorder) ProcessedCountStatistic(ctx interface{}) *gomock.Call
ProcessedCountStatistic indicates an expected call of ProcessedCountStatistic.
func (*MockInterfaceMockRecorder) SaveUnsentMessage ¶
func (mr *MockInterfaceMockRecorder) SaveUnsentMessage(arg0 interface{}) *gomock.Call
SaveUnsentMessage indicates an expected call of SaveUnsentMessage.
func (*MockInterfaceMockRecorder) Statistic ¶
func (mr *MockInterfaceMockRecorder) Statistic() *gomock.Call
Statistic indicates an expected call of Statistic.