Handler handles pprof profiling endpoints
| 41 | |
| 42 | // Handler handles pprof profiling endpoints |
| 43 | type Handler struct { |
| 44 | Username string |
| 45 | Password string |
| 46 | // Prefix is the path prefix before /pprof/{path...}. |
| 47 | // For example "/debug" results in "/debug/pprof/{path...}", |
| 48 | // "/_unkey/internal" results in "/_unkey/internal/pprof/{path...}". |
| 49 | Prefix string |
| 50 | } |
| 51 | |
| 52 | // Method returns the HTTP method this route responds to |
| 53 | func (h *Handler) Method() string { |
nothing calls this directly
no outgoing calls
no test coverage detected