Documentation ¶
Index ¶
- type DBClient
- func (_m *DBClient) CloseSession()
- func (_m *DBClient) GetAllCommands() ([]models.Command, error)
- func (_m *DBClient) GetCommandById(id string) (models.Command, error)
- func (_m *DBClient) GetCommandByNameAndDeviceId(cname string, did string) (models.Command, error)
- func (_m *DBClient) GetCommandsByDeviceId(id string) ([]models.Command, error)
- func (_m *DBClient) GetCommandsByName(id string) ([]models.Command, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBClient ¶
DBClient is an autogenerated mock type for the DBClient type
func (*DBClient) CloseSession ¶
func (_m *DBClient) CloseSession()
CloseSession provides a mock function with given fields:
func (*DBClient) GetAllCommands ¶
GetAllCommands provides a mock function with given fields:
func (*DBClient) GetCommandById ¶
GetCommandById provides a mock function with given fields: id
func (*DBClient) GetCommandByNameAndDeviceId ¶
GetCommandByNameAndDeviceId provides a mock function with given fields: cname, did
func (*DBClient) GetCommandsByDeviceId ¶
GetCommandsByDeviceId provides a mock function with given fields: id
Click to show internal directories.
Click to hide internal directories.