Documentation ¶
Index ¶
- Variables
- func AutoEventManagerFrom(get di.Get) interfaces.AutoEventManager
- func ConfigurationFrom(get di.Get) *config.ConfigurationStruct
- func DeviceServiceFrom(get di.Get) *models.DeviceService
- func DiscoveryRequestIdFrom(get di.Get) string
- func ExtendedProtocolDriverFrom(get di.Get) interfaces.ExtendedProtocolDriver
- func ProtocolDriverFrom(get di.Get) interfaces.ProtocolDriver
Constants ¶
This section is empty.
Variables ¶
var AutoEventManagerName = di.TypeInstanceToName((*interfaces.AutoEventManager)(nil))
AutoEventManagerName contains the name of autoevent manager implementation in the DIC
var ConfigurationName = di.TypeInstanceToName(config.ConfigurationStruct{})
ConfigurationName contains the name of device service's ConfigurationStruct implementation in the DIC.
var DeviceServiceName = di.TypeInstanceToName(models.DeviceService{})
DeviceServiceName contains the name of device service struct in the DIC.
var DiscoveryRequestIdName = di.TypeInstanceToName(new(string))
DiscoveryRequestIdName contains the name of discovery request id implementation in the DIC.
var ExtendedProtocolDriverName = di.TypeInstanceToName((*interfaces.ExtendedProtocolDriver)(nil))
ExtendedProtocolDriverName contains the name of extended protocol driver implementation in the DIC.
var ProtocolDriverName = di.TypeInstanceToName((*interfaces.ProtocolDriver)(nil))
ProtocolDriverName contains the name of protocol driver implementation in the DIC.
Functions ¶
func AutoEventManagerFrom ¶
func AutoEventManagerFrom(get di.Get) interfaces.AutoEventManager
AutoEventManagerFrom helper function queries the DIC and returns autoevent manager implementation
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 DiscoveryRequestIdFrom ¶
DiscoveryRequestIdFrom helper function queries the DIC and returns discovery request id.
func ExtendedProtocolDriverFrom ¶
func ExtendedProtocolDriverFrom(get di.Get) interfaces.ExtendedProtocolDriver
ExtendedProtocolDriverFrom helper function queries the DIC and returns extended protocol driver implementation.
func ProtocolDriverFrom ¶
func ProtocolDriverFrom(get di.Get) interfaces.ProtocolDriver
ProtocolDriverFrom helper function queries the DIC and returns protocol driver implementation.
Types ¶
This section is empty.