community

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

This package contains the functions to send data to the sensor.community site.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendDataToAPI

func SendDataToAPI(measurement *sen5xlib.SensorMeasurement, conf *conf.Config)

Types

type SensorCommunityRequest

type SensorCommunityRequest struct {
	SoftwareVersion  string                 `json:"software_version"`
	SensorDataValues []SensorCommunityValue `json:"sensordatavalues"`
}

type SensorCommunityValue

type SensorCommunityValue struct {
	ValueType string `json:"value_type"`
	Value     string `json:"value"`
}

Jump to

Keyboard shortcuts

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