energyplan

package
v0.0.0-...-66d665b Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlanFetcher

type PlanFetcher struct {
	// contains filtered or unexported fields
}

func NewPlanFetcher

func NewPlanFetcher(logger *slog.Logger, provider string) (*PlanFetcher, error)

func (*PlanFetcher) FetchAllPlans

func (p *PlanFetcher) FetchAllPlans() ([]*cdsenergy.EnergyPlan, error)

func (*PlanFetcher) FetchPlan

func (p *PlanFetcher) FetchPlan(planID string) (*cdsenergy.EnergyPlanDetail, error)

Jump to

Keyboard shortcuts

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