Interface is the shared contract for all middlesware, and allows middlesware to wrap handlers.
| 11 | // Interface is the shared contract for all middlesware, and allows middlesware |
| 12 | // to wrap handlers. |
| 13 | type Interface interface { |
| 14 | Wrap(http.Handler) http.Handler |
| 15 | } |
| 16 | |
| 17 | // Func is to Interface as http.HandlerFunc is to http.Handler |
| 18 | type Func func(http.Handler) http.Handler |
no outgoing calls
no test coverage detected