mock_dao

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_dao is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDaoInt

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

MockDaoInt is a mock of DaoInt interface

func NewMockDaoInt

func NewMockDaoInt(ctrl *gomock.Controller) *MockDaoInt

NewMockDaoInt creates a new mock instance

func (*MockDaoInt) ActionCounter

func (m *MockDaoInt) ActionCounter(arg0 context.Context, arg1, arg2 int64) (*model.ActionCounter, error)

ActionCounter mocks base method

func (*MockDaoInt) CalcRecords

func (m *MockDaoInt) CalcRecords(arg0 context.Context, arg1, arg2, arg3 int64) ([]*model.FigureRecord, error)

CalcRecords mocks base method

func (*MockDaoInt) Close

func (m *MockDaoInt) Close()

Close mocks base method

func (*MockDaoInt) EXPECT

func (m *MockDaoInt) EXPECT() *MockDaoIntMockRecorder

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

func (*MockDaoInt) Figure

func (m *MockDaoInt) Figure(arg0 context.Context, arg1 int64) (*model.Figure, error)

Figure mocks base method

func (*MockDaoInt) FigureCache

func (m *MockDaoInt) FigureCache(arg0 context.Context, arg1 int64) (*model.Figure, error)

FigureCache mocks base method

func (*MockDaoInt) Figures

func (m *MockDaoInt) Figures(arg0 context.Context, arg1 int64, arg2 int) ([]*model.Figure, bool, error)

Figures mocks base method

func (*MockDaoInt) InsertRankHistory

func (m *MockDaoInt) InsertRankHistory(arg0 context.Context, arg1 *model.Rank) (int64, error)

InsertRankHistory mocks base method

func (*MockDaoInt) PendingMidsCache

func (m *MockDaoInt) PendingMidsCache(arg0 context.Context, arg1, arg2 int64) ([]int64, error)

PendingMidsCache mocks base method

func (*MockDaoInt) Ping

func (m *MockDaoInt) Ping(arg0 context.Context) error

Ping mocks base method

func (*MockDaoInt) PutCalcRecord

func (m *MockDaoInt) PutCalcRecord(arg0 context.Context, arg1 *model.FigureRecord, arg2 int64) error

PutCalcRecord mocks base method

func (*MockDaoInt) RemoveCache

func (m *MockDaoInt) RemoveCache(arg0 context.Context, arg1 int64) error

RemoveCache mocks base method

func (*MockDaoInt) SetFigureCache

func (m *MockDaoInt) SetFigureCache(arg0 context.Context, arg1 *model.Figure) error

SetFigureCache mocks base method

func (*MockDaoInt) UpsertFigure

func (m *MockDaoInt) UpsertFigure(arg0 context.Context, arg1 *model.Figure) (int64, error)

UpsertFigure mocks base method

func (*MockDaoInt) UpsertRank

func (m *MockDaoInt) UpsertRank(arg0 context.Context, arg1 *model.Rank) (int64, error)

UpsertRank mocks base method

func (*MockDaoInt) UserInfo

func (m *MockDaoInt) UserInfo(arg0 context.Context, arg1, arg2 int64) (*model.UserInfo, error)

UserInfo mocks base method

type MockDaoIntMockRecorder

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

MockDaoIntMockRecorder is the mock recorder for MockDaoInt

func (*MockDaoIntMockRecorder) ActionCounter

func (mr *MockDaoIntMockRecorder) ActionCounter(arg0, arg1, arg2 interface{}) *gomock.Call

ActionCounter indicates an expected call of ActionCounter

func (*MockDaoIntMockRecorder) CalcRecords

func (mr *MockDaoIntMockRecorder) CalcRecords(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CalcRecords indicates an expected call of CalcRecords

func (*MockDaoIntMockRecorder) Close

func (mr *MockDaoIntMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockDaoIntMockRecorder) Figure

func (mr *MockDaoIntMockRecorder) Figure(arg0, arg1 interface{}) *gomock.Call

Figure indicates an expected call of Figure

func (*MockDaoIntMockRecorder) FigureCache

func (mr *MockDaoIntMockRecorder) FigureCache(arg0, arg1 interface{}) *gomock.Call

FigureCache indicates an expected call of FigureCache

func (*MockDaoIntMockRecorder) Figures

func (mr *MockDaoIntMockRecorder) Figures(arg0, arg1, arg2 interface{}) *gomock.Call

Figures indicates an expected call of Figures

func (*MockDaoIntMockRecorder) InsertRankHistory

func (mr *MockDaoIntMockRecorder) InsertRankHistory(arg0, arg1 interface{}) *gomock.Call

InsertRankHistory indicates an expected call of InsertRankHistory

func (*MockDaoIntMockRecorder) PendingMidsCache

func (mr *MockDaoIntMockRecorder) PendingMidsCache(arg0, arg1, arg2 interface{}) *gomock.Call

PendingMidsCache indicates an expected call of PendingMidsCache

func (*MockDaoIntMockRecorder) Ping

func (mr *MockDaoIntMockRecorder) Ping(arg0 interface{}) *gomock.Call

Ping indicates an expected call of Ping

func (*MockDaoIntMockRecorder) PutCalcRecord

func (mr *MockDaoIntMockRecorder) PutCalcRecord(arg0, arg1, arg2 interface{}) *gomock.Call

PutCalcRecord indicates an expected call of PutCalcRecord

func (*MockDaoIntMockRecorder) RemoveCache

func (mr *MockDaoIntMockRecorder) RemoveCache(arg0, arg1 interface{}) *gomock.Call

RemoveCache indicates an expected call of RemoveCache

func (*MockDaoIntMockRecorder) SetFigureCache

func (mr *MockDaoIntMockRecorder) SetFigureCache(arg0, arg1 interface{}) *gomock.Call

SetFigureCache indicates an expected call of SetFigureCache

func (*MockDaoIntMockRecorder) UpsertFigure

func (mr *MockDaoIntMockRecorder) UpsertFigure(arg0, arg1 interface{}) *gomock.Call

UpsertFigure indicates an expected call of UpsertFigure

func (*MockDaoIntMockRecorder) UpsertRank

func (mr *MockDaoIntMockRecorder) UpsertRank(arg0, arg1 interface{}) *gomock.Call

UpsertRank indicates an expected call of UpsertRank

func (*MockDaoIntMockRecorder) UserInfo

func (mr *MockDaoIntMockRecorder) UserInfo(arg0, arg1, arg2 interface{}) *gomock.Call

UserInfo indicates an expected call of UserInfo

Jump to

Keyboard shortcuts

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