actions

package
v0.0.0-...-a5360b3 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2019 License: GPL-3.0 Imports: 7 Imported by: 0

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.

func App

func App() *echo.Echo

App creates new instance of Echo and configures it

Types

type DarkskyHandler

type DarkskyHandler struct {
	darksky.Darksky
}

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

Jump to

Keyboard shortcuts

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