Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceContext ¶
type ServiceContext struct { SvrClient Ws *ws.Server Config config.Config InitCtxsWare rest.Middleware CheckTokenWare rest.Middleware OssClient *oss.Client OtaM otamanage.OtaManage ProductCache dmExport.ProductCacheT DeviceCache dmExport.DeviceCacheT }
func NewServiceContext ¶
func NewServiceContext(c config.Config) *ServiceContext
type SvrClient ¶
type SvrClient struct { ProtocolM protocolmanage.ProtocolManage ProductM productmanage.ProductManage SchemaM schemamanage.SchemaManage DeviceM devicemanage.DeviceManage DeviceA deviceauth.DeviceAuth DeviceG devicegroup.DeviceGroup DeviceMsg devicemsg.DeviceMsg DeviceInteract deviceinteract.DeviceInteract RemoteConfig remoteconfig.RemoteConfig Rule rule.Rule UserDevice userdevice.UserDevice UserM user.UserManage UserC sysExport.UserCacheT AreaC sysExport.AreaCacheT AreaM areamanage.AreaManage }
Click to show internal directories.
Click to hide internal directories.