handler

package
v0.18.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogging added in v0.18.2

func NewLogging(svc session.Handler, logger *slog.Logger) session.Handler

NewLogging adds logging facilities to the adapter.

func NewMetrics added in v0.18.2

func NewMetrics(svc session.Handler, counter metrics.Counter, latency metrics.Histogram) session.Handler

NewMetrics instruments adapter by tracking request count and latency.

func NewTracing

func NewTracing(tracer trace.Tracer, handler session.Handler) session.Handler

NewTracing creates a new session.Handler middleware with tracing.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL