Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockDao
- func (m *MockDao) Close()
- func (m *MockDao) EXPECT() *MockDaoMockRecorder
- func (m *MockDao) Ping(arg0 context.Context) error
- func (m *MockDao) ReadPingCount(arg0 context.Context, arg1 model.PingType) (model.PingCount, error)
- func (m *MockDao) UpdatePingCount(arg0 context.Context, arg1 model.PingType, arg2 model.PingCount) error
- type MockDaoMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDao ¶
type MockDao struct {
// contains filtered or unexported fields
}
MockDao is a mock of Dao interface
func NewMockDao ¶
func NewMockDao(ctrl *gomock.Controller) *MockDao
NewMockDao creates a new mock instance
func (*MockDao) EXPECT ¶
func (m *MockDao) EXPECT() *MockDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDao) ReadPingCount ¶
ReadPingCount mocks base method
type MockDaoMockRecorder ¶
type MockDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockDaoMockRecorder is the mock recorder for MockDao
func (*MockDaoMockRecorder) Close ¶
func (mr *MockDaoMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockDaoMockRecorder) Ping ¶
func (mr *MockDaoMockRecorder) Ping(arg0 interface{}) *gomock.Call
Ping indicates an expected call of Ping
func (*MockDaoMockRecorder) ReadPingCount ¶
func (mr *MockDaoMockRecorder) ReadPingCount(arg0, arg1 interface{}) *gomock.Call
ReadPingCount indicates an expected call of ReadPingCount
func (*MockDaoMockRecorder) UpdatePingCount ¶
func (mr *MockDaoMockRecorder) UpdatePingCount(arg0, arg1, arg2 interface{}) *gomock.Call
UpdatePingCount indicates an expected call of UpdatePingCount
Click to show internal directories.
Click to hide internal directories.