Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadAPIKey ¶
LoadAPIKey fetches the API key from GCP Secret Manager.
func RequireBearerAuth ¶
func RequireBearerAuth(apiKey string, next http.HandlerFunc) http.HandlerFunc
RequireBearerAuth wraps an http.HandlerFunc with Bearer token authentication.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.