api

package
v0.0.0-...-6a543fd Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2020 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgendaAPI

type AgendaAPI struct {
	GoogleClientID     string
	GoogleClientSecret string
	GoogleRedirectURL  string
	GoogleAuthToken    string
	GoogleRefreshToken string
	// contains filtered or unexported fields
}

AgendaAPI is the API that handles the Agenda panel

func (*AgendaAPI) Configure

func (api *AgendaAPI) Configure()

Configure implements API.Configure

func (*AgendaAPI) Prefix

func (api *AgendaAPI) Prefix() string

Prefix implements API.Prefix

func (*AgendaAPI) Route

func (api *AgendaAPI) Route(router *mux.Router)

Route implements API.Route

type ClimateAPI

type ClimateAPI struct {
	WeatherLocationLat string
	WeatherLocationLng string
	DarkSkyKey         string
	ThermostatdKey     string
	ThermostatdHost    string
	// contains filtered or unexported fields
}

ClimateAPI is the API that handles the Climate panel

func (*ClimateAPI) Configure

func (api *ClimateAPI) Configure()

Configure implements API.Configure

func (*ClimateAPI) Prefix

func (api *ClimateAPI) Prefix() string

Prefix implements API.Prefix

func (*ClimateAPI) Route

func (api *ClimateAPI) Route(router *mux.Router)

Route implements API.Route

type CommuteAPI

type CommuteAPI struct {
	MapsKey     string
	FromAddress string
	ToAddress   string
	// contains filtered or unexported fields
}

CommuteAPI is the API that handles the Commute panel

func (*CommuteAPI) Configure

func (api *CommuteAPI) Configure()

Configure implements API.Configure

func (*CommuteAPI) Prefix

func (api *CommuteAPI) Prefix() string

Prefix implements API.Prefix

func (*CommuteAPI) Route

func (api *CommuteAPI) Route(router *mux.Router)

Route implements API.Route

type SpotifyAPI

type SpotifyAPI struct {
	ClientID     string
	ClientSecret string
	RedirectURL  string
	AuthToken    string
	RefreshToken string
	// contains filtered or unexported fields
}

SpotifyAPI is the API that handles the Spotify panel

func (*SpotifyAPI) Configure

func (api *SpotifyAPI) Configure()

Configure implements API.Configure

func (*SpotifyAPI) Prefix

func (api *SpotifyAPI) Prefix() string

Prefix implements API.Prefix

func (*SpotifyAPI) Route

func (api *SpotifyAPI) Route(router *mux.Router)

Route implements API.Route

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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