corrently

package
v0.0.0-...-843392f Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TokenSource

func TokenSource(log *util.Logger, token *oauth2.Token) oauth2.TokenSource

Types

type Forecast

type Forecast struct {
	Support       string `json:"support"`
	License       string `json:"license"`
	Info          string `json:"info"`
	Documentation string `json:"documentation"`
	Commercial    string `json:"commercial"`
	Signee        string `json:"signee"`
	Forecast      []struct {
		Epochtime     int     `json:"epochtime"`
		Eevalue       int     `json:"eevalue"`
		Ewind         int     `json:"ewind"`
		Esolar        int     `json:"esolar"`
		Ensolar       int     `json:"ensolar"`
		Enwind        int     `json:"enwind"`
		Sci           int     `json:"sci"`
		Gsi           float64 `json:"gsi"`
		TimeStamp     int64   `json:"timeStamp"`
		Energyprice   string  `json:"energyprice"`
		Co2GStandard  int     `json:"co2_g_standard"`
		Co2GOekostrom int     `json:"co2_g_oekostrom"`
		Timeframe     struct {
			Start int64 `json:"start"`
			End   int64 `json:"end"`
		} `json:"timeframe"`
		Iat       int64  `json:"iat"`
		Zip       string `json:"zip"`
		Signature string `json:"signature"`
	} `json:"forecast"`
	Location struct {
		Zip       string `json:"zip"`
		City      string `json:"city"`
		Signature string `json:"signature"`
	} `json:"location"`
	Err     bool
	Message any
}

Jump to

Keyboard shortcuts

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