Versions in this module Expand all Collapse all v0 v0.9.1 Mar 17, 2016 Changes in this version + const MatchKey + const ValidMethodsKey + type C struct + Env map[interface{}]interface{} + URLParams map[string]string + type Handler interface + ServeHTTPC func(C, http.ResponseWriter, *http.Request) + type HandlerFunc func(C, http.ResponseWriter, *http.Request) + func (h HandlerFunc) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (h HandlerFunc) ServeHTTPC(c C, w http.ResponseWriter, r *http.Request) + type HandlerType interface + type Match struct + Handler Handler + Pattern Pattern + func GetMatch(c C) Match + func (m Match) RawHandler() HandlerType + func (m Match) RawPattern() PatternType + type MiddlewareType interface + type Mux struct + func New() *Mux + func (m *Mux) Abandon(middleware MiddlewareType) error + func (m *Mux) Compile() + func (m *Mux) Connect(pattern PatternType, handler HandlerType) + func (m *Mux) Delete(pattern PatternType, handler HandlerType) + func (m *Mux) Get(pattern PatternType, handler HandlerType) + func (m *Mux) Handle(pattern PatternType, handler HandlerType) + func (m *Mux) Head(pattern PatternType, handler HandlerType) + func (m *Mux) Insert(middleware, before MiddlewareType) error + func (m *Mux) NotFound(handler HandlerType) + func (m *Mux) Options(pattern PatternType, handler HandlerType) + func (m *Mux) Patch(pattern PatternType, handler HandlerType) + func (m *Mux) Post(pattern PatternType, handler HandlerType) + func (m *Mux) Put(pattern PatternType, handler HandlerType) + func (m *Mux) Router(c *C, h http.Handler) http.Handler + func (m *Mux) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (m *Mux) ServeHTTPC(c C, w http.ResponseWriter, r *http.Request) + func (m *Mux) Trace(pattern PatternType, handler HandlerType) + func (m *Mux) Use(middleware MiddlewareType) + type Pattern interface + Match func(r *http.Request, c *C) bool + Prefix func() string + Run func(r *http.Request, c *C) + func ParsePattern(raw PatternType) Pattern + type PatternType interface