package
0.0.0-20200930173842-476b4f672e85
Repository: https://github.com/iotdomain/iotdomain-go.git
Documentation: pkg.go.dev
# Functions
SetupNodes creates a node for each city with outputs for temperature and humidity.
UpdateWeather obtains the forecast and updates the output value.
# Constants
APIKEY is a example apikey.
DefaultWeatherServiceURL contains the openweathermap URL for querying current weather See https://openweathermap.org/current#data for more information.
# Structs
AppConfig contains the application configuration and can be loaded from {AppID}.yaml.
CurrentWeather is the struct to load the openweathermap result.