router

package
v0.0.0-...-894ab8b Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2014 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package router contains the route definitions for the frontend server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadContext

func ReadContext(r *http.Request, s *handle.Session) (*frontend.Context, error)

func ReadContextWithForm

func ReadContextWithForm(r *http.Request, s *handle.Session) (*frontend.Context, error)

Types

type Router

type Router struct {
	*handle.Worker
}

func NewRouter

func NewRouter(engine *backend.Engine, server frontend.Server) *Router

func (*Router) RegisterRoutes

func (w *Router) RegisterRoutes(router *mux.Router)

Jump to

Keyboard shortcuts

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