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