Documentation ¶
Overview ¶
Package mock_dao is a generated GoMock package.
Index ¶
- type MockDaoInt
- func (m *MockDaoInt) ActionCounter(arg0 context.Context, arg1, arg2 int64) (*model.ActionCounter, error)
- func (m *MockDaoInt) CalcRecords(arg0 context.Context, arg1, arg2, arg3 int64) ([]*model.FigureRecord, error)
- func (m *MockDaoInt) Close()
- func (m *MockDaoInt) EXPECT() *MockDaoIntMockRecorder
- func (m *MockDaoInt) Figure(arg0 context.Context, arg1 int64) (*model.Figure, error)
- func (m *MockDaoInt) FigureCache(arg0 context.Context, arg1 int64) (*model.Figure, error)
- func (m *MockDaoInt) Figures(arg0 context.Context, arg1 int64, arg2 int) ([]*model.Figure, bool, error)
- func (m *MockDaoInt) InsertRankHistory(arg0 context.Context, arg1 *model.Rank) (int64, error)
- func (m *MockDaoInt) PendingMidsCache(arg0 context.Context, arg1, arg2 int64) ([]int64, error)
- func (m *MockDaoInt) Ping(arg0 context.Context) error
- func (m *MockDaoInt) PutCalcRecord(arg0 context.Context, arg1 *model.FigureRecord, arg2 int64) error
- func (m *MockDaoInt) RemoveCache(arg0 context.Context, arg1 int64) error
- func (m *MockDaoInt) SetFigureCache(arg0 context.Context, arg1 *model.Figure) error
- func (m *MockDaoInt) UpsertFigure(arg0 context.Context, arg1 *model.Figure) (int64, error)
- func (m *MockDaoInt) UpsertRank(arg0 context.Context, arg1 *model.Rank) (int64, error)
- func (m *MockDaoInt) UserInfo(arg0 context.Context, arg1, arg2 int64) (*model.UserInfo, error)
- type MockDaoIntMockRecorder
- func (mr *MockDaoIntMockRecorder) ActionCounter(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDaoIntMockRecorder) CalcRecords(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDaoIntMockRecorder) Close() *gomock.Call
- func (mr *MockDaoIntMockRecorder) Figure(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDaoIntMockRecorder) FigureCache(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDaoIntMockRecorder) Figures(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDaoIntMockRecorder) InsertRankHistory(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDaoIntMockRecorder) PendingMidsCache(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDaoIntMockRecorder) Ping(arg0 interface{}) *gomock.Call
- func (mr *MockDaoIntMockRecorder) PutCalcRecord(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDaoIntMockRecorder) RemoveCache(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDaoIntMockRecorder) SetFigureCache(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDaoIntMockRecorder) UpsertFigure(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDaoIntMockRecorder) UpsertRank(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDaoIntMockRecorder) UserInfo(arg0, arg1, arg2 interface{}) *gomock.Call
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) EXPECT ¶
func (m *MockDaoInt) EXPECT() *MockDaoIntMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDaoInt) FigureCache ¶
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 ¶
InsertRankHistory mocks base method
func (*MockDaoInt) PendingMidsCache ¶
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 ¶
SetFigureCache mocks base method
func (*MockDaoInt) UpsertFigure ¶
UpsertFigure mocks base method
func (*MockDaoInt) UpsertRank ¶
UpsertRank 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