Documentation
¶
Index ¶
- func AuthMiddleware(auth authz.Authorization) func(proxy.Service) proxy.Service
- func NewLoggingMiddleware(logger *slog.Logger, svc proxy.Service) proxy.Service
- func NewMetricsMiddleware(counter metrics.Counter, latency metrics.Histogram, svc proxy.Service) proxy.Service
- func NewTracingMiddleware(tracer trace.Tracer, svc proxy.Service) proxy.Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthMiddleware ¶
AuthMiddleware adds authorization checks to the service.
func NewLoggingMiddleware ¶
func NewMetricsMiddleware ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.