Documentation ¶
Index ¶
- func ToDeviceLog(productID string, db map[string]any) *msgHubLog.HubLog
- type HubLogRepo
- func (d HubLogRepo) GetCountLog(ctx context.Context, filter msgHubLog.HubFilter, page def.PageInfo2) (int64, error)
- func (d HubLogRepo) GetDeviceLog(ctx context.Context, filter msgHubLog.HubFilter, page def.PageInfo2) ([]*msgHubLog.HubLog, error)
- func (d HubLogRepo) Insert(ctx context.Context, data *msgHubLog.HubLog) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HubLogRepo ¶
type HubLogRepo struct { store.HubLogStore // contains filtered or unexported fields }
func NewHubLogRepo ¶
func NewHubLogRepo(dataSource string) *HubLogRepo
func (HubLogRepo) GetCountLog ¶
func (HubLogRepo) GetDeviceLog ¶
Click to show internal directories.
Click to hide internal directories.