Versions in this module Expand all Collapse all v0 v0.1.0 Feb 3, 2016 Changes in this version + func Context(r *http.Request) context.Context + func FileServe(dir string) http.HandlerFunc + func Param(ctx context.Context, p string) string + func WithParam(ctx context.Context, p, v string) context.Context + type Router struct + func New() *Router + func (r *Router) Del(path string, h http.HandlerFunc) + func (r *Router) Get(path string, h http.HandlerFunc) + func (r *Router) Post(path string, h http.HandlerFunc) + func (r *Router) Put(path string, h http.HandlerFunc) + func (r *Router) Redirect(w http.ResponseWriter, req *http.Request, path string, code int) + func (r *Router) ServeHTTP(w http.ResponseWriter, req *http.Request) + func (r *Router) WithPrefix(prefix string) *Router