mocks

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2018 License: MIT Imports: 3 Imported by: 0

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 MockRowsScanner

type MockRowsScanner struct {
	// contains filtered or unexported fields
}

MockRowsScanner is a mock of RowsScanner interface

func NewMockRowsScanner

func NewMockRowsScanner(ctrl *gomock.Controller) *MockRowsScanner

NewMockRowsScanner creates a new mock instance

func (*MockRowsScanner) Close

func (m *MockRowsScanner) Close() error

Close mocks base method

func (*MockRowsScanner) ColumnTypes

func (m *MockRowsScanner) ColumnTypes() ([]*sql.ColumnType, error)

ColumnTypes mocks base method

func (*MockRowsScanner) Columns

func (m *MockRowsScanner) Columns() ([]string, error)

Columns mocks base method

func (*MockRowsScanner) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRowsScanner) Err

func (m *MockRowsScanner) Err() error

Err mocks base method

func (*MockRowsScanner) Next

func (m *MockRowsScanner) Next() bool

Next mocks base method

func (*MockRowsScanner) Scan

func (m *MockRowsScanner) Scan(dest ...interface{}) error

Scan mocks base method

type MockRowsScannerMockRecorder

type MockRowsScannerMockRecorder struct {
	// contains filtered or unexported fields
}

MockRowsScannerMockRecorder is the mock recorder for MockRowsScanner

func (*MockRowsScannerMockRecorder) Close

Close indicates an expected call of Close

func (*MockRowsScannerMockRecorder) ColumnTypes

func (mr *MockRowsScannerMockRecorder) ColumnTypes() *gomock.Call

ColumnTypes indicates an expected call of ColumnTypes

func (*MockRowsScannerMockRecorder) Columns

func (mr *MockRowsScannerMockRecorder) Columns() *gomock.Call

Columns indicates an expected call of Columns

func (*MockRowsScannerMockRecorder) Err

Err indicates an expected call of Err

func (*MockRowsScannerMockRecorder) Next

Next indicates an expected call of Next

func (*MockRowsScannerMockRecorder) Scan

func (mr *MockRowsScannerMockRecorder) Scan(dest ...interface{}) *gomock.Call

Scan indicates an expected call of Scan

type Mockcache

type Mockcache struct {
	// contains filtered or unexported fields
}

Mockcache is a mock of cache interface

func NewMockcache

func NewMockcache(ctrl *gomock.Controller) *Mockcache

NewMockcache creates a new mock instance

func (*Mockcache) Delete

func (m *Mockcache) Delete(key interface{})

Delete mocks base method

func (*Mockcache) EXPECT

func (m *Mockcache) EXPECT() *MockcacheMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*Mockcache) Load

func (m *Mockcache) Load(key interface{}) (interface{}, bool)

Load mocks base method

func (*Mockcache) LoadOrStore

func (m *Mockcache) LoadOrStore(key, value interface{}) (interface{}, bool)

LoadOrStore mocks base method

func (*Mockcache) Range

func (m *Mockcache) Range(f func(interface{}, interface{}) bool)

Range mocks base method

func (*Mockcache) Store

func (m *Mockcache) Store(key, value interface{})

Store mocks base method

type MockcacheMockRecorder

type MockcacheMockRecorder struct {
	// contains filtered or unexported fields
}

MockcacheMockRecorder is the mock recorder for Mockcache

func (*MockcacheMockRecorder) Delete

func (mr *MockcacheMockRecorder) Delete(key interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockcacheMockRecorder) Load

func (mr *MockcacheMockRecorder) Load(key interface{}) *gomock.Call

Load indicates an expected call of Load

func (*MockcacheMockRecorder) LoadOrStore

func (mr *MockcacheMockRecorder) LoadOrStore(key, value interface{}) *gomock.Call

LoadOrStore indicates an expected call of LoadOrStore

func (*MockcacheMockRecorder) Range

func (mr *MockcacheMockRecorder) Range(f interface{}) *gomock.Call

Range indicates an expected call of Range

func (*MockcacheMockRecorder) Store

func (mr *MockcacheMockRecorder) Store(key, value interface{}) *gomock.Call

Store indicates an expected call of Store

Jump to

Keyboard shortcuts

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