-
Add pre/post interceptor hooks to grpcserver.New
released this
2026-03-26 21:21:29 +00:00 | 4 commits to master since this releaseNew Options parameter with PreInterceptors and PostInterceptors
allows services to inject custom interceptors into the chain:[pre-interceptors] → logging → auth → [post-interceptors] → handler
This enables services like metacrypt to add seal-check (pre-auth)
and audit-logging (post-auth) interceptors while using the shared
auth and logging infrastructure.Pass nil for the default chain (logging + auth only).
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
Downloads