package handler

import "github.com/edgexfoundry/device-sdk-go/internal/handler"

Index

Functions

func CommandAllHandler

func CommandAllHandler(cmd string, body string, method string, queryParams string, dic *di.Container) ([]*dsModels.Event, common.AppError)

func CommandHandler

func CommandHandler(vars map[string]string, body string, method string, queryParams string, dic *di.Container) (*dsModels.Event, common.AppError)

Note, every HTTP request to ServeHTTP is made in a separate goroutine, which means care needs to be taken with respect to shared data accessed through *Server.

func TransformHandler

func TransformHandler(requestMap map[string]string, lc logger.LoggingClient) (map[string]string, common.AppError)

func VersionHandler

func VersionHandler() string

Source Files

command.go control.go version.go

Directories

PathSynopsis
internal/handler/callback
Version
v1.4.0 (latest)
Published
Dec 21, 2020
Platform
linux/amd64
Imports
21 packages
Last checked
4 days ago

Tools for package owners.