package
0.0.0-20201215173027-a12daaf43806
Repository: https://github.com/vividcortex/goji.git
Documentation: pkg.go.dev

# Packages

Package middleware provides several standard middleware implementations.

# Functions

New creates a new Mux without any routes or middleware.

# Constants

The key used to communicate to the NotFound handler what methods would have been allowed if they'd been provided.

# Structs

C is a per-request context object which is threaded through all compliant middleware layers and to the final request handler.
Mux is an HTTP multiplexer, much like net/http's ServeMux.

# Interfaces

Handler is a superset of net/http's http.Handler, which also includes a mechanism for serving requests with a context.
A Pattern determines whether or not a given request matches some criteria.

# Type aliases

HandlerFunc is like net/http's http.HandlerFunc, but supports a context object.