http

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiDeviceStatusRoute       = common.ApiBase + "/devicestatus"
	ApiAllDeviceStatusRoute    = ApiDeviceStatusRoute + "/" + common.All
	ApiDeviceStatusByNameRoute = ApiDeviceStatusRoute + "/" + common.Name + "/{" + common.Name + "}"
)

Variables

This section is empty.

Functions

func NewDeviceStatusClient

func NewDeviceStatusClient(baseUrl string) interfaces.DeviceStatusClient

NewDeviceStatusClient creates an instance of DeviceStatusClient

Types

type DeviceStatusClient

type DeviceStatusClient struct {
	// contains filtered or unexported fields
}

func (DeviceStatusClient) AllDeviceStatus

func (sc DeviceStatusClient) AllDeviceStatus(ctx context.Context, offset int, limit int) (res responses.MultiDeviceStatusResponse, err errors.EdgeX)

func (DeviceStatusClient) DeviceStatusByName

func (sc DeviceStatusClient) DeviceStatusByName(ctx context.Context, name string) (res responses.DeviceStatusResponse, err errors.EdgeX)

func (DeviceStatusClient) Update

Jump to

Keyboard shortcuts

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