sdkLogRepo

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSDKLogRepo

func NewSDKLogRepo(dataSource conf.TSDB) deviceLog.SDKRepo

Types

type SDK

type SDK struct {
	*deviceLog.SDK
}

func (*SDK) TableName

func (m *SDK) TableName() string

type SDKLogRepo

type SDKLogRepo struct {
	// contains filtered or unexported fields
}

func (SDKLogRepo) DeleteDevice

func (d SDKLogRepo) DeleteDevice(ctx context.Context, productID string, deviceName string) error

func (SDKLogRepo) DeleteProduct

func (d SDKLogRepo) DeleteProduct(ctx context.Context, productID string) error

func (SDKLogRepo) GetCountLog

func (d SDKLogRepo) GetCountLog(ctx context.Context, filter deviceLog.SDKFilter, page def.PageInfo2) (int64, error)

func (SDKLogRepo) GetDeviceSDKLog

func (d SDKLogRepo) GetDeviceSDKLog(ctx context.Context,
	filter deviceLog.SDKFilter, page def.PageInfo2) ([]*deviceLog.SDK, error)

func (SDKLogRepo) InitDevice

func (d SDKLogRepo) InitDevice(ctx context.Context, device devices.Info) error

func (SDKLogRepo) InitProduct

func (d SDKLogRepo) InitProduct(ctx context.Context, productID string) error

func (SDKLogRepo) Insert

func (d SDKLogRepo) Insert(ctx context.Context, data *deviceLog.SDK) error

Jump to

Keyboard shortcuts

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