Handler can handle an TokenReview.
| 59 | |
| 60 | // Handler can handle an TokenReview. |
| 61 | type Handler interface { |
| 62 | // Handle yields a response to an TokenReview. |
| 63 | // |
| 64 | // The supplied context is extracted from the received http.Request, allowing wrapping |
| 65 | // http.Handlers to inject values into and control cancelation of downstream request processing. |
| 66 | Handle(context.Context, Request) Response |
| 67 | } |
| 68 | |
| 69 | // HandlerFunc implements Handler interface using a single function. |
| 70 | type HandlerFunc func(context.Context, Request) Response |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…