handler

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TraceHandler

func TraceHandler(serviceName, path string, opts ...TraceOption) func(http.Handler) http.Handler

TraceHandler return a middleware that process the opentelemetry.

Types

type TraceOption

type TraceOption func(options *traceOptions)

TraceOption defines the method to customize an traceOptions.

func WithTraceIgnorePaths deprecated

func WithTraceIgnorePaths(traceIgnorePaths []string) TraceOption

Deprecated: WithTraceIgnorePaths specifies the traceIgnorePaths option for TraceHandler.

Jump to

Keyboard shortcuts

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