container

package
v0.0.0-...-2dca463 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CommonClientName                        = di.TypeInstanceToName((*interfaces.CommonClient)(nil))
	MetadataDeviceClientName                = di.TypeInstanceToName((*interfaces.DeviceClient)(nil))
	MetadataDeviceProfileClientName         = di.TypeInstanceToName((*interfaces.DeviceProfileClient)(nil))
	MetadataDeviceServiceClientName         = di.TypeInstanceToName((*interfaces.DeviceServiceClient)(nil))
	MetadataDeviceServiceCallbackClientName = di.TypeInstanceToName((*interfaces.DeviceServiceCallbackClient)(nil))
	MetadataProvisionWatcherClientName      = di.TypeInstanceToName((*interfaces.ProvisionWatcherClient)(nil))
	CoredataEventClientName                 = di.TypeInstanceToName((*interfaces.EventClient)(nil))
)

v2版本相关依赖客户端

View Source
var (
	DeviceServiceName     = di.TypeInstanceToName(contract.DeviceService{})
	ProtocolDiscoveryName = di.TypeInstanceToName((*models.ProtocolDiscovery)(nil))
	ProtocolDriverName    = di.TypeInstanceToName((*models.ProtocolDriver)(nil))
)

Functions

func CommonClientFrom

func CommonClientFrom(get di.Get) interfaces.CommonClient

func ConfigurationFrom

func ConfigurationFrom(get di.Get) *common.ConfigurationStruct

ConfigurationFrom helper function queries the DIC and returns device service's ConfigurationStruct implementation.

func CoredataEventClientFrom

func CoredataEventClientFrom(get di.Get) interfaces.EventClient

func DeviceServiceFrom

func DeviceServiceFrom(get di.Get) contract.DeviceService

func MetadataDeviceClientFrom

func MetadataDeviceClientFrom(get di.Get) interfaces.DeviceClient

func MetadataDeviceProfileClientFrom

func MetadataDeviceProfileClientFrom(get di.Get) interfaces.DeviceProfileClient

func MetadataDeviceServiceCallbackClientFrom

func MetadataDeviceServiceCallbackClientFrom(get di.Get) interfaces.DeviceServiceCallbackClient

func MetadataDeviceServiceClientFrom

func MetadataDeviceServiceClientFrom(get di.Get) interfaces.DeviceServiceClient

func MetadataProvisionWatcherClientFrom

func MetadataProvisionWatcherClientFrom(get di.Get) interfaces.ProvisionWatcherClient

func ProtocolDiscoveryFrom

func ProtocolDiscoveryFrom(get di.Get) models.ProtocolDiscovery

func ProtocolDriverFrom

func ProtocolDriverFrom(get di.Get) models.ProtocolDriver

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL