monitoringgateway

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Currentvalue

type Currentvalue struct {
	Timestamp  time.Time
	Last_value float64
}

type CurrentvalueRequest

type CurrentvalueRequest struct {
	MachineID string
	SensorID  string
}

type Gateway

type Gateway interface {
	GetCurrentValue(ctx context.Context, request *CurrentvalueRequest) (*Currentvalue, error)
}

func NewAdapter

func NewAdapter(client restclient.RestClient, env types.Environment) Gateway

Jump to

Keyboard shortcuts

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