httpapi

package
v0.0.0-...-c0e0d3a Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MPL-2.0 Imports: 9 Imported by: 1

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.

Jump to

Keyboard shortcuts

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