Versions in this module Expand all Collapse all v0 v0.5.1 Apr 30, 2015 v0.5.0 Apr 28, 2015 Changes in this version + func New(c middleware.Controller) (middleware.Middleware, error) + type Redirect struct + Next middleware.Handler + Rules []Rule + func (rd Redirect) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error) + type Rule struct + Code int + From string + To string