apiKeyContextKey is an unexported type used as the context key for the matched ApiKeyEntry so it cannot collide with keys defined in other packages.
| 10 | // apiKeyContextKey is an unexported type used as the context key for the matched ApiKeyEntry |
| 11 | // so it cannot collide with keys defined in other packages. |
| 12 | type apiKeyContextKey struct{} |
| 13 | |
| 14 | // authError describes why authentication failed. status is the HTTP status code to send. |
| 15 | type authError struct { |
nothing calls this directly
no outgoing calls
no test coverage detected