router

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithRoutes

func WithRoutes(routes RouteTable) *mux.Router

Types

type Route

type Route struct {
	Name    string
	Method  string
	Pattern string
	Handler http.HandlerFunc
}

type RouteTable

type RouteTable []Routes

type Routes

type Routes []Route

Jump to

Keyboard shortcuts

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