router

package
v0.0.0-...-4e4842a Latest Latest
Warning

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

Go to latest
Published: May 4, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdminRouter

func NewAdminRouter(a *application.App) *httprouter.Router

NewAdminRouter creates a new router with all admin routes added

func NewFERouter

func NewFERouter(a *application.App) *httprouter.Router

NewFERouter creates a new router with all front end routes added

func NewRouter

func NewRouter() *httprouter.Router

NewRouter Creates a new httprouter.Router instance

Types

type NotFound

type NotFound struct{}

func (*NotFound) ServeHTTP

func (n *NotFound) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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