deltap

package
v1.27.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 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 DifferentialPressureAPIClient

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

func NewDifferentialPressureAPIClient

func NewDifferentialPressureAPIClient(address string, sensorName, nodeName, nodeIP string, insecureSkipVerify bool, timeout time.Duration, editorFns ...util.RequestEditorFn) *DifferentialPressureAPIClient

NewDifferentialPressureAPIClient inits the client. At least one of sensorName, nodeName or nodeIP must be specified.

func (*DifferentialPressureAPIClient) Endpoint

func (c *DifferentialPressureAPIClient) Endpoint() (string, error)

Endpoint constructs the API endpoint.

There is 3 types of URL.

func (*DifferentialPressureAPIClient) Fetch

func (*DifferentialPressureAPIClient) GetSensorValue

func (c *DifferentialPressureAPIClient) GetSensorValue(ctx context.Context) (sensorValue, error)

func (*DifferentialPressureAPIClient) ValueType

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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