svc

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: AGPL-3.0 Imports: 16 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
	DeviceID       *utils.SnowFlake
	ProductID      *utils.SnowFlake
	DataUpdate     dataUpdate.DataUpdate
	Cache          kv.Store
	SchemaManaRepo deviceMsgManage.SchemaDataRepo
	HubLogRepo     deviceMsgManage.HubLogRepo
	SchemaRepo     schema.Repo
	SDKLogRepo     deviceMsgManage.SDKLogRepo
	GroupID        *utils.SnowFlake
	OssClient      *oss.Client
	Bus            eventBus.Bus
}

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