Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlaceDirectoryHandler ¶
type PlaceDirectoryHandler struct {
GoogleAPIKey string
}
func (PlaceDirectoryHandler) HandleRequest ¶
func (h PlaceDirectoryHandler) HandleRequest(request dumbdumb.Request) error
type TranslateHandler ¶
type TranslateHandler struct {
GoogleAPIKey string
}
func (TranslateHandler) BuildAPIParamsFromRequest ¶
func (TranslateHandler) HandleRequest ¶
func (h TranslateHandler) HandleRequest(request dumbdumb.Request) error
TODO: test sending erroneous keys TODO: test 403 forbidden error handling (when setting up new Google API)
type WeatherHandler ¶
type WeatherHandler struct { // Weather Underground API key WuApiKey string }
func (WeatherHandler) HandleRequest ¶
func (h WeatherHandler) HandleRequest(request dumbdumb.Request) error
Click to show internal directories.
Click to hide internal directories.