Versions in this module Expand all Collapse all v0 v0.0.1 Jan 7, 2018 Changes in this version + const DispatcherEnv + func FormValue(r *http.Request, key string) (string, error) + func FormValueBool(r *http.Request, key string) (bool, error) + func FormValueFloat32(r *http.Request, key string) (float32, error) + func FormValueInt16(r *http.Request, key string, base int) (int16, error) + func FormValueInt32(r *http.Request, key string, base int) (int32, error) + type Deleter interface + Delete func(w http.ResponseWriter, r *http.Request) + type Environment map[string]string + func GetEnvironment(r *http.Request) (Environment, *http.Request) + func (env Environment) Get(key string) string + func (env Environment) GetInt(key string, base int) (int, error) + func (env Environment) GetInt64(key string, base int) (int64, error) + func (env Environment) Set(key, value string) + func (env Environment) SetInt(key string, value int) + type Getter interface + Get func(w http.ResponseWriter, r *http.Request) + type Handler interface + type Poster interface + Post func(w http.ResponseWriter, r *http.Request) + type Putter interface + Put func(w http.ResponseWriter, r *http.Request) + type Resource struct + func (_ *Resource) BadRequest(w http.ResponseWriter, s string, args ...interface{}) + func (_ *Resource) EnvValue(r *http.Request, key string) string + func (_ *Resource) EnvValueInt(r *http.Request, key string) (int, error) + func (_ *Resource) Environment(r *http.Request) (map[string]string, *http.Request) + func (_ *Resource) ParseForm(r *http.Request) error + func (_ Resource) BestMime(r *http.Request, supported ...string) (string, error) + func (o *Resource) Allowed(r *http.Request, method string) bool + func (o *Resource) FormValue(r *http.Request, key string) (string, error) + func (o *Resource) FormValueBool(r *http.Request, key string) (bool, error) + func (o *Resource) FormValueFloat32(r *http.Request, key string) (float32, error) + func (o *Resource) FormValueInt32(r *http.Request, key string, base int) (int32, error) + func (o *Resource) Handle(path string, h http.Handler) + func (o *Resource) HandleFunc(path string, f http.HandlerFunc) + func (o *Resource) NotAllowed(w http.ResponseWriter, r *http.Request, allow string) + func (o *Resource) NotFound(w http.ResponseWriter, r *http.Request) + func (o *Resource) RaiseNotFound(w http.ResponseWriter, _ *http.Request) + func (o *Resource) ServeHTTP(p Handler, w http.ResponseWriter, r *http.Request) + func (o *Resource) SetFallback(h http.HandlerFunc) + func (o *Resource) WriteJSON(w http.ResponseWriter, prefix string, indent string, d interface{}) error