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)
Click to show internal directories.
Click to hide internal directories.