Versions in this module Expand all Collapse all v0 v0.9.0 Mar 31, 2016 Changes in this version + func URLParam(ctx context.Context, key string) string + type Context struct + func RootContext(ctx context.Context) *Context + func (x *Context) Param(key string) string + type Handler interface + ServeHTTPC func(context.Context, http.ResponseWriter, *http.Request) + type HandlerFunc func(context.Context, http.ResponseWriter, *http.Request) + func (h HandlerFunc) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (h HandlerFunc) ServeHTTPC(ctx context.Context, w http.ResponseWriter, r *http.Request) + type Mux struct + func NewMux() *Mux + func NewRouter() *Mux + func (mx *Mux) Connect(pattern string, handlers ...interface{}) + func (mx *Mux) Delete(pattern string, handlers ...interface{}) + func (mx *Mux) Get(pattern string, handlers ...interface{}) + func (mx *Mux) Group(fn func(r Router)) Router + func (mx *Mux) Handle(pattern string, handlers ...interface{}) + func (mx *Mux) Head(pattern string, handlers ...interface{}) + func (mx *Mux) Mount(path string, handlers ...interface{}) + func (mx *Mux) NotFound(h HandlerFunc) + func (mx *Mux) Options(pattern string, handlers ...interface{}) + func (mx *Mux) Patch(pattern string, handlers ...interface{}) + func (mx *Mux) Post(pattern string, handlers ...interface{}) + func (mx *Mux) Put(pattern string, handlers ...interface{}) + func (mx *Mux) Route(pattern string, fn func(r Router)) Router + func (mx *Mux) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (mx *Mux) ServeHTTPC(ctx context.Context, w http.ResponseWriter, r *http.Request) + func (mx *Mux) Trace(pattern string, handlers ...interface{}) + func (mx *Mux) Use(mws ...interface{}) + type Router interface + Connect func(pattern string, handlers ...interface{}) + Delete func(pattern string, handlers ...interface{}) + Get func(pattern string, handlers ...interface{}) + Group func(fn func(r Router)) Router + Handle func(pattern string, handlers ...interface{}) + Head func(pattern string, handlers ...interface{}) + Mount func(pattern string, handlers ...interface{}) + NotFound func(h HandlerFunc) + Options func(pattern string, handlers ...interface{}) + Patch func(pattern string, handlers ...interface{}) + Post func(pattern string, handlers ...interface{}) + Put func(pattern string, handlers ...interface{}) + Route func(pattern string, fn func(r Router)) Router + Trace func(pattern string, handlers ...interface{}) + Use func(middlewares ...interface{}) + type WalkFn func(path string, handler Handler) bool Other modules containing this package gopkg.in/pressly/chi.v1 gopkg.in/pressly/chi.v2 gopkg.in/pressly/chi.v3 gopkg.in/pressly/chi.v4