sdkLogRepo

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2022 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToDeviceSDKLog

func ToDeviceSDKLog(productID string, db map[string]any) *deviceMsg.SDKLog

Types

type SDKLogRepo

type SDKLogRepo struct {
	store.SDKLogStore
	// contains filtered or unexported fields
}

func NewSDKLogRepo

func NewSDKLogRepo(dataSource string) *SDKLogRepo

func (SDKLogRepo) GetDeviceSDKLog

func (d SDKLogRepo) GetDeviceSDKLog(ctx context.Context,
	productID, deviceName string, page def.PageInfo2) ([]*deviceMsg.SDKLog, error)

func (SDKLogRepo) Insert

func (d SDKLogRepo) Insert(ctx context.Context, data *deviceMsg.SDKLog) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL