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
Click to show internal directories.
Click to hide internal directories.