goweb/middleware/type.go

10 lines
200 B
Go
Raw Permalink Normal View History

2018-12-06 15:18:05 +01:00
package middleware
import "net/http"
// ContextKey are values exposed on the request context
type ContextKey string
// Middleware An HTTP middleware
type Middleware func(http.Handler) http.Handler