Documentation
¶
Overview ¶
Package mock_ack is a generated GoMock package.
Index ¶
- type MockRepository
- func (m *MockRepository) Ack(ctx context.Context, ack *core.Ack) (core.Ack, error)
- func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
- func (m *MockRepository) Get(ctx context.Context, from, to string) (core.Ack, error)
- func (m *MockRepository) GetAcker(ctx context.Context, key string) ([]core.Ack, error)
- func (m *MockRepository) GetAcking(ctx context.Context, key string) ([]core.Ack, error)
- func (m *MockRepository) Unack(ctx context.Context, ack *core.Ack) (core.Ack, error)
- type MockRepositoryMockRecorder
- func (mr *MockRepositoryMockRecorder) Ack(ctx, ack any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Get(ctx, from, to any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) GetAcker(ctx, key any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) GetAcking(ctx, key any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Unack(ctx, ack any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepository ¶
type MockRepository struct {
// contains filtered or unexported fields
}
MockRepository is a mock of Repository interface.
func NewMockRepository ¶
func NewMockRepository(ctrl *gomock.Controller) *MockRepository
NewMockRepository creates a new mock instance.
func (*MockRepository) EXPECT ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRepositoryMockRecorder ¶
type MockRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryMockRecorder is the mock recorder for MockRepository.
func (*MockRepositoryMockRecorder) Ack ¶
func (mr *MockRepositoryMockRecorder) Ack(ctx, ack any) *gomock.Call
Ack indicates an expected call of Ack.
func (*MockRepositoryMockRecorder) Get ¶
func (mr *MockRepositoryMockRecorder) Get(ctx, from, to any) *gomock.Call
Get indicates an expected call of Get.
func (*MockRepositoryMockRecorder) GetAcker ¶
func (mr *MockRepositoryMockRecorder) GetAcker(ctx, key any) *gomock.Call
GetAcker indicates an expected call of GetAcker.
Click to show internal directories.
Click to hide internal directories.