client

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	CameraInit(edgexDevice e_models.Device, ipAddress string, username string, password string)
	HandleReadCommand(req sdkModel.CommandRequest) (*sdkModel.CommandValue, error)
	HandleWriteCommand(req sdkModel.CommandRequest, param *sdkModel.CommandValue) error
	CameraRelease(force bool)
}

Client is an interface that can be implemented to allow cameras to pass HandleReadCommand and HandleWriteCommand requests to device- or manufacturer-specific handlers. CameraInit and CameraRelease allow cameras to spin up long-running goroutines to manage the camera

Jump to

Keyboard shortcuts

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