Documentation ¶
Overview ¶
Package mock_key is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockKeyRepo ¶
type MockKeyRepo struct {
// contains filtered or unexported fields
}
MockKeyRepo is a mock of KeyRepo interface.
func NewMockKeyRepo ¶
func NewMockKeyRepo(ctrl *gomock.Controller) *MockKeyRepo
NewMockKeyRepo creates a new mock instance.
func (*MockKeyRepo) DeleteOne ¶
func (m *MockKeyRepo) DeleteOne(algoId int) (string, error)
DeleteOne mocks base method.
func (*MockKeyRepo) EXPECT ¶
func (m *MockKeyRepo) EXPECT() *MockKeyRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKeyRepo) InsertMany ¶
func (m *MockKeyRepo) InsertMany(keys []models.Key) error
InsertMany mocks base method.
type MockKeyRepoMockRecorder ¶
type MockKeyRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyRepoMockRecorder is the mock recorder for MockKeyRepo.
func (*MockKeyRepoMockRecorder) DeleteOne ¶
func (mr *MockKeyRepoMockRecorder) DeleteOne(algoId interface{}) *gomock.Call
DeleteOne indicates an expected call of DeleteOne.
func (*MockKeyRepoMockRecorder) InsertMany ¶
func (mr *MockKeyRepoMockRecorder) InsertMany(keys interface{}) *gomock.Call
InsertMany indicates an expected call of InsertMany.
Click to show internal directories.
Click to hide internal directories.