clustvirt/router/middleware/middleware.go
2024-03-25 15:33:04 -06:00

8 lines
201 B
Go

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