Documentation
¶
Overview ¶
Package mock_db is a generated GoMock package.
Index ¶
- type MockTrackingDB
- func (m *MockTrackingDB) EXPECT() *MockTrackingDBMockRecorder
- func (m *MockTrackingDB) GetChConn() driver.Conn
- func (m *MockTrackingDB) GetLastPoints(ctx context.Context, imeiList []string) ([]*devicev1.AVLData, error)
- func (m *MockTrackingDB) GetPgConn() *pgxpool.Pool
- func (m *MockTrackingDB) GetSQLBuilder() squirrel.StatementBuilderType
- type MockTrackingDBMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTrackingDB ¶
type MockTrackingDB struct {
// contains filtered or unexported fields
}
MockTrackingDB is a mock of TrackingDB interface.
func NewMockTrackingDB ¶
func NewMockTrackingDB(ctrl *gomock.Controller) *MockTrackingDB
NewMockTrackingDB creates a new mock instance.
func (*MockTrackingDB) EXPECT ¶
func (m *MockTrackingDB) EXPECT() *MockTrackingDBMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTrackingDB) GetChConn ¶
func (m *MockTrackingDB) GetChConn() driver.Conn
GetChConn mocks base method.
func (*MockTrackingDB) GetLastPoints ¶
func (m *MockTrackingDB) GetLastPoints(ctx context.Context, imeiList []string) ([]*devicev1.AVLData, error)
GetLastPoints mocks base method.
func (*MockTrackingDB) GetPgConn ¶
func (m *MockTrackingDB) GetPgConn() *pgxpool.Pool
GetPgConn mocks base method.
func (*MockTrackingDB) GetSQLBuilder ¶
func (m *MockTrackingDB) GetSQLBuilder() squirrel.StatementBuilderType
GetSQLBuilder mocks base method.
type MockTrackingDBMockRecorder ¶
type MockTrackingDBMockRecorder struct {
// contains filtered or unexported fields
}
MockTrackingDBMockRecorder is the mock recorder for MockTrackingDB.
func (*MockTrackingDBMockRecorder) GetChConn ¶
func (mr *MockTrackingDBMockRecorder) GetChConn() *gomock.Call
GetChConn indicates an expected call of GetChConn.
func (*MockTrackingDBMockRecorder) GetLastPoints ¶
func (mr *MockTrackingDBMockRecorder) GetLastPoints(ctx, imeiList interface{}) *gomock.Call
GetLastPoints indicates an expected call of GetLastPoints.
func (*MockTrackingDBMockRecorder) GetPgConn ¶
func (mr *MockTrackingDBMockRecorder) GetPgConn() *gomock.Call
GetPgConn indicates an expected call of GetPgConn.
func (*MockTrackingDBMockRecorder) GetSQLBuilder ¶
func (mr *MockTrackingDBMockRecorder) GetSQLBuilder() *gomock.Call
GetSQLBuilder indicates an expected call of GetSQLBuilder.