Documentation ¶
Overview ¶
Package service provides a basic EdgeX Foundry device service implementation meant to be embedded in an application, similar in approach to the builtin net/http package.
Index ¶
Constants ¶
View Source
const EnvInstanceName = "EDGEX_INSTANCE_NAME"
Variables ¶
This section is empty.
Functions ¶
func NewDeviceService ¶
func NewDeviceService(serviceKey string, serviceVersion string, driver interfaces.ProtocolDriver) (interfaces.DeviceServiceSDK, error)
NewDeviceService returns an implementation of interfaces.DeviceServiceSDKExt for the specified key, version, and driver.
Types ¶
type Bootstrap ¶
type Bootstrap struct {
// contains filtered or unexported fields
}
Bootstrap contains references to dependencies required by the BootstrapHandler.
func NewBootstrap ¶
func NewBootstrap(ds *deviceService, router *echo.Echo) *Bootstrap
NewBootstrap is a factory method that returns an initialized Bootstrap receiver struct.
Click to show internal directories.
Click to hide internal directories.