helpers

package
v0.0.0-...-8dd3ec1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	InfluxDB       InfluxDB     `yaml:"influxDB"`
	TorontoWater   TorontoWater `yaml:"torontoWater"`
	SleepDuration  int          `yaml:"sleepDuration"`
	LookDaysInPast int          `yaml:"lookDaysInPast"`
}

func ReadConfig

func ReadConfig(configFile string) Config

type InfluxDB

type InfluxDB struct {
	URL          string `yaml:"url"`
	Token        string `yaml:"token"`
	Organization string `yaml:"organization"`
	Bucket       string `yaml:"bucket"`
}

type TorontoWater

type TorontoWater struct {
	AccountNumber     string `yaml:"accountNumber"`
	LastName          string `yaml:"lastName"`
	PostalCode        string `yaml:"postalCode"`
	LastPaymentMethod string `yaml:"lastPaymentMethod"`
	Mock              bool   `yaml:"mock"`
}

Jump to

Keyboard shortcuts

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