svc

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceContext

type ServiceContext struct {
	Config         config.Config
	DeviceInfo     mysql.DeviceInfoModel
	ProductInfo    mysql.ProductInfoModel
	ProductSchema  mysql.ProductSchemaModel
	DeviceID       *utils.SnowFlake
	ProductID      *utils.SnowFlake
	DataUpdate     dataUpdate.DataUpdate
	Store          kv.Store
	SchemaManaRepo deviceMsgManage.SchemaDataRepo
	HubLogRepo     deviceMsgManage.HubLogRepo
	SchemaRepo     schema.Repo
	SDKLogRepo     deviceMsgManage.SDKLogRepo
	FirmwareInfo   mysql.ProductFirmwareModel
	GroupInfo      mysql.GroupInfoModel
	GroupDevice    mysql.GroupDeviceModel
	GroupID        *utils.SnowFlake
	GroupDB        mysql.GroupModel
}

func NewServiceContext

func NewServiceContext(c config.Config) *ServiceContext

Jump to

Keyboard shortcuts

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