command

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2019 License: Apache-2.0 Imports: 3 Imported by: 7

Documentation

Overview

Package command provides a client for integration with the core-command service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandClient

type CommandClient interface {
	// Get issues a GET command targeting the specified device, using the specified command
	Get(deviceId string, commandId string, ctx context.Context) (string, error)
	// Put issues a PUT command targeting the specified device, using the specified command
	Put(deviceId string, commandId string, body string, ctx context.Context) (string, error)
}

The CommandClient interface defines interactions with the EdgeX Core Command microservice.

func NewCommandClient

func NewCommandClient(params types.EndpointParams, m clients.Endpointer) CommandClient

NewCommandClient creates an instance of CommandClient

Jump to

Keyboard shortcuts

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