temps

package
Version: v0.0.0-...-4eaba90 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func HandleAllSettingsRequest

func HandleAllSettingsRequest(writer http.ResponseWriter, request *http.Request)

func HandleGarageSettingsRequest

func HandleGarageSettingsRequest(writer http.ResponseWriter, request *http.Request)

func HandleKidsSettingsRequest

func HandleKidsSettingsRequest(writer http.ResponseWriter, request *http.Request)

func HandleMainSettingsRequest

func HandleMainSettingsRequest(writer http.ResponseWriter, request *http.Request)

func HandleMasterSettingsRequest

func HandleMasterSettingsRequest(writer http.ResponseWriter, request *http.Request)

func RegisterHandlers

func RegisterHandlers(mainConfig config.Configuration)

func TempsHandler

func TempsHandler(writer http.ResponseWriter, request *http.Request)

Types

type RoomTemperature

type RoomTemperature struct {
	Fahrenheit float32 `json:"fahrenheit"`
	Celcius    float32 `json:"celcius"`
	Humidity   float32 `json:"humidity"`
	Name       string  `json:"name"`
}

Source Files

Jump to

Keyboard shortcuts

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