Commit ae2a2d5b authored by Matthew Holt's avatar Matthew Holt

Godoc for middleware packages and server package

parent bcdf04d0
// Extensionless is middleware for clean URLs. A root path is
// Package extensionless is middleware for clean URLs. A root path is
// passed in as well as possible extensions to add, internally,
// to paths requested. The first path+ext that matches a resource
// that exists will be used.
......
// Package gzip provides a simple middleware layer that performs
// gzip compression on the response.
package gzip
import (
......
// Package headers provides middleware that appends headers to
// requests based on a set of configuration rules that define
// which routes receive which headers.
package headers
import (
......
// Package log implements basic but useful request logging middleware.
package log
import (
......
// Proxy is middleware that proxies requests.
// Package proxy is middleware that proxies requests.
package proxy
import (
......
// Redirect is middleware for redirecting certain requests
// Package redirect is middleware for redirecting certain requests
// to other locations.
package redirect
......
// Server implements a configurable, general-purpose web server. It
// relies on configurations obtained from the adjacent config package
// and can execute middleware as defined by the adjacent middleware
// package.
// Package server implements a configurable, general-purpose web server.
// It relies on configurations obtained from the adjacent config package
// and can execute middleware as defined by the adjacent middleware package.
package server
import (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment