Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HttpHandler ¶
type HttpHandler struct{}
func (HttpHandler) ServeHTTP ¶
func (h HttpHandler) ServeHTTP(res http.ResponseWriter, req *http.Request)
type TemperatureData ¶
type TemperatureData struct { Timestamp string OutdoorTemp float64 IndoorTemp float64 Forecast float64 }
func (TemperatureData) DataAreEqual ¶
func (td TemperatureData) DataAreEqual(other TemperatureData) bool
DataAreEqual check if all data fields (e.g. not Timestamp) in two structures match
Click to show internal directories.
Click to hide internal directories.