Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDatabase ¶
type MockDatabase struct {
// contains filtered or unexported fields
}
MockDatabase is a mock of Database interface
func NewMockDatabase ¶
func NewMockDatabase(ctrl *gomock.Controller) *MockDatabase
NewMockDatabase creates a new mock instance
func (*MockDatabase) Delete ¶
func (m *MockDatabase) Delete(key []byte) error
Delete mocks base method
func (*MockDatabase) EXPECT ¶
func (m *MockDatabase) EXPECT() *MockDatabaseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDatabase) Get ¶
func (m *MockDatabase) Get(key []byte) ([]byte, error)
Get mocks base method
func (*MockDatabase) List ¶
func (m *MockDatabase) List() (map[string]interface{}, error)
List mocks base method
func (*MockDatabase) Put ¶
func (m *MockDatabase) Put(key, value []byte) error
Put mocks base method
type MockDatabaseMockRecorder ¶
type MockDatabaseMockRecorder struct {
// contains filtered or unexported fields
}
MockDatabaseMockRecorder is the mock recorder for MockDatabase
func (*MockDatabaseMockRecorder) Delete ¶
func (mr *MockDatabaseMockRecorder) Delete(key interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockDatabaseMockRecorder) Get ¶
func (mr *MockDatabaseMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockDatabaseMockRecorder) List ¶
func (mr *MockDatabaseMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockDatabaseMockRecorder) Put ¶
func (mr *MockDatabaseMockRecorder) Put(key, value interface{}) *gomock.Call
Put indicates an expected call of Put
Click to show internal directories.
Click to hide internal directories.