container

package
v3.0.3-patch-modbus Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

AutoEventManagerName contains the name of autoevent manager implementation in the DIC

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

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

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 ProtocolDriverFrom

func ProtocolDriverFrom(get di.Get) interfaces.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