Documentation ¶
Index ¶
- Variables
- func CommonClientFrom(get di.Get) interfaces.CommonClient
- func ConfigurationFrom(get di.Get) *common.ConfigurationStruct
- func CoredataEventClientFrom(get di.Get) interfaces.EventClient
- func DeviceServiceFrom(get di.Get) contract.DeviceService
- func MetadataDeviceClientFrom(get di.Get) interfaces.DeviceClient
- func MetadataDeviceProfileClientFrom(get di.Get) interfaces.DeviceProfileClient
- func MetadataDeviceServiceCallbackClientFrom(get di.Get) interfaces.DeviceServiceCallbackClient
- func MetadataDeviceServiceClientFrom(get di.Get) interfaces.DeviceServiceClient
- func MetadataProvisionWatcherClientFrom(get di.Get) interfaces.ProvisionWatcherClient
- func ProtocolDiscoveryFrom(get di.Get) models.ProtocolDiscovery
- func ProtocolDriverFrom(get di.Get) models.ProtocolDriver
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)) )
View Source
var ConfigurationName = di.TypeInstanceToName(common.ConfigurationStruct{})
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.
Click to show internal directories.
Click to hide internal directories.