Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AboutHandler ¶
func AboutHandler(c echo.Context) error
AboutHandler is a default handler to serve up memory of 18.20.
Types ¶
type DarkskyHandler ¶
DarkskyHandler contains required information for using darksky APIs.
func (DarkskyHandler) Forecast ¶
func (d DarkskyHandler) Forecast(c echo.Context) error
Forecast uses darksky API to forecast weather in given geolocation.
type DefaultValidator ¶
type DefaultValidator struct {
// contains filtered or unexported fields
}
DefaultValidator contains go-playground validator instance
func (*DefaultValidator) Validate ¶
func (cv *DefaultValidator) Validate(i interface{}) error
Validate validates structs based on go-playground validator
Click to show internal directories.
Click to hide internal directories.