Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var All = []Speaker{ Pollen{}, Precipitation{}, LowHigh{}, Alerts{}, Forecast{}, }
All is the ordered list of speakers
View Source
var NoData = "I don't have any forecast information for that time"
NoData means there was no forecast data for the specified time period
Functions ¶
This section is empty.
Types ¶
type Current ¶
type Current struct{}
Current handles any request and responds with the current weather information. It is responsible for mainly the following requests but handles any request it is given
the weather the current weather
type LowHigh ¶
type LowHigh struct{}
LowHigh responds to the following queries
the low|high [day] time the low|high
type Pollen ¶
type Pollen struct{}
Pollen responds to the following queries the pollen for [day]
type Precipitation ¶
type Precipitation struct{}
Precipitation responds to the following queries will it rain|snow [day] time
func (Precipitation) CanSpeak ¶
func (Precipitation) CanSpeak(q *alexa.WeatherRequest) bool
func (Precipitation) Name ¶
func (Precipitation) Name() string
Click to show internal directories.
Click to hide internal directories.