Documentation
¶
Index ¶
- func ToDeviceSDKLog(productID string, db map[string]any) *msgSdkLog.SDKLog
- type SDKLogRepo
- func (d SDKLogRepo) GetCountLog(ctx context.Context, filter msgSdkLog.SdkLogFilter, page def.PageInfo2) (int64, error)
- func (d SDKLogRepo) GetDeviceSDKLog(ctx context.Context, filter msgSdkLog.SdkLogFilter, page def.PageInfo2) ([]*msgSdkLog.SDKLog, error)
- func (d SDKLogRepo) Insert(ctx context.Context, data *msgSdkLog.SDKLog) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SDKLogRepo ¶
type SDKLogRepo struct { stores.SDKLogStore // contains filtered or unexported fields }
func NewSDKLogRepo ¶
func NewSDKLogRepo(dataSource string) *SDKLogRepo
func (SDKLogRepo) GetCountLog ¶ added in v0.3.0
func (d SDKLogRepo) GetCountLog(ctx context.Context, filter msgSdkLog.SdkLogFilter, page def.PageInfo2) (int64, error)
func (SDKLogRepo) GetDeviceSDKLog ¶
func (d SDKLogRepo) GetDeviceSDKLog(ctx context.Context, filter msgSdkLog.SdkLogFilter, page def.PageInfo2) ([]*msgSdkLog.SDKLog, error)
Click to show internal directories.
Click to hide internal directories.