svc

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 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.DmDeviceInfoModel
	ProductInfo      mysql.DmProductInfoModel
	ProductSchema    mysql.DmProductSchemaModel
	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.DmProductFirmwareModel
	GroupInfo        mysql.DmGroupInfoModel
	GroupDevice      mysql.DmGroupDeviceModel
	GroupID          *utils.SnowFlake
	GroupDB          mysql.DmGroupModel
	Gateway          mysql.DmGatewayDeviceModel
	RemoteConfigDB   mysql.DmRemoteConfigModel
	RemoteConfigInfo mysql.DmProductRemoteConfigModel
}

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