go-restful-plugins

module
v4.29.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: Apache-2.0

README

Build Status

Go-Restful Plugins

This project contains plugins for go-restful projects.

Packages

Package Description
pkg/cors CORS filter with static and dynamic namespace-scoped configuration
pkg/auth/iam IAM-based authentication filter
pkg/auth/ic IC-based authentication filter
pkg/logger/common Common request/response logger
pkg/logger/event Event logger
pkg/logger/log Log package
pkg/trace Trace ID propagation (deprecated)
pkg/jaeger Jaeger tracing integration (deprecated)
pkg/apm/datadog Datadog APM integration (deprecated)
pkg/response Standard response helpers
pkg/util Utility functions
pkg/profiling/pprof pprof profiling endpoint (deprecated)

Find each package's full documentation in its own README.

Directories

Path Synopsis
internal
requesttrace
Package requesttrace reads the OpenTelemetry trace ID of a go-restful request, which the access and event logs write as trace_id.
Package requesttrace reads the OpenTelemetry trace ID of a go-restful request, which the access and event logs write as trace_id.
pkg
apm/datadog
Package datadog provides a go-restful filter that traces requests with Datadog APM (gopkg.in/DataDog/dd-trace-go.v1).
Package datadog provides a go-restful filter that traces requests with Datadog APM (gopkg.in/DataDog/dd-trace-go.v1).
jaeger
Package jaeger provides go-restful filters and helpers that create OpenTracing spans and report them with the Jaeger client.
Package jaeger provides go-restful filters and helpers that create OpenTracing spans and report them with the Jaeger client.
profiling/pprof
Package pprof registers net/http/pprof handlers under a base path on http.DefaultServeMux.
Package pprof registers net/http/pprof handlers under a base path on http.DefaultServeMux.
trace
Package trace provides a go-restful filter that sets the X-Ab-TraceID request ID: it reads the request header, generates an ID when there is none, and returns it in the response header.
Package trace provides a go-restful filter that sets the X-Ab-TraceID request ID: it reads the request header, generates an ID when there is none, and returns it in the response header.

Jump to

Keyboard shortcuts

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