octopus

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConsumption

func GetConsumption(wg *sync.WaitGroup, config *conf.Conf, grp *errgroup.Group, ctx context.Context, electricityPeriod *time.Time, gasPeriod *time.Time, c chan<- *ConsumptionResponse)

Types

type ConsumptionResponse

type ConsumptionResponse struct {
	Consumption float64
	FuelType    octopusenergy.FuelType
	Period      time.Time
}

Jump to

Keyboard shortcuts

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