Versions in this module Expand all Collapse all v0 v0.10.7 Oct 9, 2024 v0.10.6 Oct 6, 2024 Changes in this version + type ServiceContext struct + AreaCache sysExport.AreaCacheT + AreaM areamanage.AreaManage + Cache kv.Store + Config config.Config + DataM datamanage.DataManage + DeviceCache *caches.Cache[dm.DeviceInfo, devices.Core] + DeviceStatus *cache.DeviceStatus + FastEvent *eventBus.FastEvent + GatewayCanBind *cache.GatewayCanBind + HubLogRepo deviceLog.HubRepo + NodeID int64 + OssClient *oss.Client + ProductCache *caches.Cache[dm.ProductInfo, string] + ProjectCache sysExport.ProjectCacheT + ProjectM projectmanage.ProjectManage + PubApp pubApp.PubApp + PubDev pubDev.PubDev + SDKLogRepo deviceLog.SDKRepo + SchemaManaRepo msgThing.SchemaDataRepo + SchemaRepo *caches.Cache[schema.Model, string] + SendRepo deviceLog.SendRepo + Slot sysExport.SlotCacheT + StatusRepo deviceLog.StatusRepo + TenantCache sysExport.TenantCacheT + TimedM timedmanage.TimedManage + UserDeviceShare *caches.Cache[dm.UserDeviceShareInfo, userShared.UserShareKey] + UserM usermanage.UserManage + UserSubscribe *ws.UserSubscribe + WebHook *sysExport.Webhook + func NewServiceContext(c config.Config) *ServiceContext + func (s *ServiceContext) WithDeviceTenant(ctx context.Context, dev devices.Core) context.Context