mock_key

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2021 License: MIT Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL