Documentation
¶
Overview ¶
Package clerk provides convenience wiring around the Clerk auth middleware.
The package aliases the underlying middleware types and exposes environment loading helpers for quick application bootstrap. Import the middleware package directly when you need the narrowest dependency surface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthChecker ¶
func HealthChecker(cfg Config, client *http.Client) ports.HealthChecker
HealthChecker returns a health checker for Clerk.
Types ¶
type Config ¶
Config aliases the Clerk middleware configuration.
func LoadConfig ¶
LoadConfig reads Clerk configuration from environment.
type Middleware ¶
type Middleware = clerk.Middleware
Middleware aliases the Clerk JWT middleware.
func NewMiddleware ¶
NewMiddleware creates a Clerk JWT middleware.
Click to show internal directories.
Click to hide internal directories.