config

package
v0.0.0-...-b706644 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AdafruitIOUsername is the username of the Adafruit IO account
	AdafruitIOUsername = "luutodinh"
	// AdafruitBaseURL is the base URL of the Adafruit IO API
	AdafruitBaseURL = "https://io.adafruit.com/api/v2/"
)
View Source
const (
	// TemperatureFeedName is the name of the temperature feed
	TemperatureFeedName = "cambiennhietdo"
	// HumidityFeedName is the name of the humidity feed
	HumidityFeedName = "cambiendoam"
	// InfraredFeedName is the name of the infrared feed
	InfraredFeedName = "phathiennguoi"
	// TemperatureThresholdFeedName is the name of the temperature threshold feed
	TemperatureThresholdFeedName = "nguongnhietdo"
	// HumidityThresholdFeedName is the name of the humidity threshold feed
	HumidityThresholdFeedName = "nguongdoam"
	// NebulizerFeedName is the name of the nebulizer feed
	NebulizerFeedName = "nutbomnuoc"
	// FanFeedName is the name of the fan feed
	FanFeedName = "nutquat"
)
View Source
const DefaultDateLayout = "2006-01-02 15:04:05.000Z"

Variables

This section is empty.

Functions

func GetAdafruitIOFeedURL

func GetAdafruitIOFeedURL(feedName string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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