clustvirt/router/middleware/middleware.go
Matthew Stobbs 4c132c4abf removed chi router
- switched to go 1.22 net/http ServeMux for routing
- seems to be working really well
2024-03-23 23:59:56 -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