container

package
v2.2.1-dev.12 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

ConfigurationName contains the name of device service's ConfigurationStruct implementation in the DIC.

DeviceServiceName contains the name of device service struct in the DIC.

DeviceValidatorName contains the name of device validator implementation in the DIC.

ManagerName contains the name of autoevent manager implementation in the DIC

View Source
var MessagingClientName = di.TypeInstanceToName((*messaging.MessageClient)(nil))
View Source
var ProtocolDiscoveryName = di.TypeInstanceToName((*sdkModels.ProtocolDiscovery)(nil))

ProtocolDiscoveryName contains the name of protocol discovery implementation in the DIC.

ProtocolDriverName contains the name of protocol driver implementation in the DIC.

Functions

func ConfigurationFrom

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

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

func DeviceServiceFrom

func DeviceServiceFrom(get di.Get) *models.DeviceService

DeviceServiceFrom helper function queries the DIC and returns device service struct.

func DeviceValidatorFrom added in v2.2.0

func DeviceValidatorFrom(get di.Get) sdkModels.DeviceValidator

DeviceValidatorFrom helper function queries the DIC and returns device validator implementation.

func ManagerFrom

func ManagerFrom(get di.Get) sdkModels.AutoEventManager

ManagerFrom helper function queries the DIC and returns autoevent manager implementation

func MessagingClientFrom

func MessagingClientFrom(get di.Get) messaging.MessageClient

func ProtocolDiscoveryFrom

func ProtocolDiscoveryFrom(get di.Get) sdkModels.ProtocolDiscovery

ProtocolDiscoveryFrom helper function queries the DIC and returns protocol discovery implementation.

func ProtocolDriverFrom

func ProtocolDriverFrom(get di.Get) sdkModels.ProtocolDriver

ProtocolDriverFrom helper function queries the DIC and returns protocol driver implementation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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