Versions in this module Expand all Collapse all v0 v0.1.0 Apr 12, 2020 Changes in this version + func ContextParam(r *http.Request, key string) interface + func QueryParam(r *http.Request, key string) string + func SetContextParam(r *http.Request, key string, value interface{}) *http.Request + type Endpoint struct + func (e *Endpoint) Any(f http.HandlerFunc) *Endpoint + func (e *Endpoint) Delete(f http.HandlerFunc) *Endpoint + func (e *Endpoint) Endpoint(pattern string) *Endpoint + func (e *Endpoint) Get(f http.HandlerFunc) *Endpoint + func (e *Endpoint) Head(f http.HandlerFunc) *Endpoint + func (e *Endpoint) Methods() []string + func (e *Endpoint) Options(f http.HandlerFunc) *Endpoint + func (e *Endpoint) Patch(f http.HandlerFunc) *Endpoint + func (e *Endpoint) Post(f http.HandlerFunc) *Endpoint + func (e *Endpoint) Put(f http.HandlerFunc) *Endpoint + func (e *Endpoint) Use(f func(http.Handler) http.Handler) *Endpoint + type Router struct + func New() *Router + func (r *Router) Endpoint(pattern string) *Endpoint + func (r *Router) ServeHTTP(rw http.ResponseWriter, req *http.Request) + func (r *Router) Use(f func(http.Handler) http.Handler) *Router