Documentation ¶
Index ¶
- type HubLogRepo
- func (d HubLogRepo) DropDevice(ctx context.Context, productID string, deviceName string) error
- func (d HubLogRepo) DropProduct(ctx context.Context, productID string) error
- func (d HubLogRepo) InitProduct(ctx context.Context, productID string) error
- func (d HubLogRepo) Insert(ctx context.Context, data *deviceMsgManage.HubLog) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HubLogRepo ¶
type HubLogRepo struct { stores.HubLogStore // contains filtered or unexported fields }
func NewHubLogRepo ¶
func NewHubLogRepo(dataSource string) *HubLogRepo
func (HubLogRepo) DropDevice ¶
func (HubLogRepo) DropProduct ¶
func (d HubLogRepo) DropProduct(ctx context.Context, productID string) error
func (HubLogRepo) InitProduct ¶
func (d HubLogRepo) InitProduct(ctx context.Context, productID string) error
func (HubLogRepo) Insert ¶ added in v0.5.1
func (d HubLogRepo) Insert(ctx context.Context, data *deviceMsgManage.HubLog) error
Click to show internal directories.
Click to hide internal directories.