MCPcopy Create free account
hub / github.com/Quorinex/Kiro-Go / apiKeyContextKey

Struct apiKeyContextKey

proxy/auth.go:12–12  ·  view source on GitHub ↗

apiKeyContextKey is an unexported type used as the context key for the matched ApiKeyEntry so it cannot collide with keys defined in other packages.

Source from the content-addressed store, hash-verified

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.
12type apiKeyContextKey struct{}
13
14// authError describes why authentication failed. status is the HTTP status code to send.
15type authError struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected