container

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: Apache-2.0 Imports: 4 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 implementation in the DIC.

View Source
var RestControllerName = "RestController"

RestControllerName contains the name of RestController instance in the DIC.

Functions

func ConfigurationFrom

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

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

func DeviceServiceFrom

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

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

func RestControllerFrom

func RestControllerFrom(get di.Get) controller.RestController

RestControllerFrom helper function queries the DIC and returns RestController instance.

Types

This section is empty.

Jump to

Keyboard shortcuts

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