router

package
v0.0.0-...-23b95e8 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetRoutes

func SetRoutes(e *echo.Echo, routes []Route) (err error)

SetRoutes registers routes for methods and paths with matching handlers.

Types

type Route

type Route struct {
	Method  string
	Routing string
	Func    echo.HandlerFunc
}

Route defines the route for method and path with matching handler.

Jump to

Keyboard shortcuts

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