Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPowerPrices ¶
func GetPowerPrices(c interfaces.Configurator, ignoreMissingTariffs bool) func(w http.ResponseWriter, req *http.Request)
GetPowerPrices is a handler to fetch and display power prices * handler to return power data * cache tariffs in mem to not have to get them all the time.
func GetPowerPricesConfigHandler ¶
func GetPowerPricesConfigHandler(c interfaces.Configurator, ignoreMissingTariffs bool) func(http.ResponseWriter, *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.