Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler wraps an existing slog.Handler to automatically inject a "correlation_id" attribute when the context carries one.
func NewHandler ¶
NewHandler creates a correlation-aware handler wrapping the given handler.
Click to show internal directories.
Click to hide internal directories.