MiddlewareFunc is a function that implements the [Middleware] interface.
func(h Handler) (wrapped Handler)
| 8 | |
| 9 | // MiddlewareFunc is a function that implements the [Middleware] interface. |
| 10 | type MiddlewareFunc func(h Handler) (wrapped Handler) |
| 11 | |
| 12 | // type check |
| 13 | var _ Middleware = MiddlewareFunc(nil) |
no outgoing calls
no test coverage detected
searching dependent graphs…