clustvirt/router/middleware/middleware.go

8 lines
201 B
Go
Raw Normal View History

package middleware
import "net/http"
// Middleware is a function that is meant to be chained with other functions
// through an http request lifecycle
type Middleware func(http.Handler) http.Handler