{"modulePath":"github.com/dio/transit/examples","version":"v0.0.0-20261012103806-c8f06714ef7f","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/dio/transit/examples/async-callout","name":"async_callout","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/async-callout/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/body-transform","name":"bodytransform","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/body-transform/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/cluster","name":"cluster","synopsis":"Package cluster demonstrates the Cluster Extension point.","isRedistributable":true},{"path":"github.com/dio/transit/examples/cluster-async-router","name":"clusterasyncrouter","synopsis":"Package clusterasyncrouter demonstrates body-driven upstream selection using the async ClusterLBCompletion pattern documented at docs/envoy-dynamic-module-upstream-selection.md (lines 154–235).","isRedistributable":true},{"path":"github.com/dio/transit/examples/cluster-async-router/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/cluster-dfp","name":"clusterdfp","synopsis":"Package clusterdfp demonstrates model-based upstream selection with the Cluster Extension.","isRedistributable":true},{"path":"github.com/dio/transit/examples/cluster-dfp/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/cluster-filter-state","name":"clusterfilterstate","synopsis":"Package clusterfilterstate demonstrates passing filter state from an HTTP filter to a Cluster Extension.","isRedistributable":true},{"path":"github.com/dio/transit/examples/cluster-filter-state/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/cluster-group","name":"clustergroup","synopsis":"Package clustergroup demonstrates how to use up.BaseCluster, up.ClusterGroup, and up.RunRetry together to build a cluster extension that discovers upstream hosts from an external source at runtime.","isRedistributable":true},{"path":"github.com/dio/transit/examples/cluster-group/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/cluster-least-conn","name":"clusterleastconn","synopsis":"Package clusterleastconn demonstrates the Cluster Extension point with a least-connections load balancer.","isRedistributable":true},{"path":"github.com/dio/transit/examples/cluster-least-conn/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/cluster-router","name":"clusterrouter","synopsis":"Package clusterrouter demonstrates request-aware host selection with a Cluster Extension plus upstream request shaping from Go.","isRedistributable":true},{"path":"github.com/dio/transit/examples/cluster-router/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/cluster-shard-router","name":"clustershardrouter","synopsis":"Package clustershardrouter demonstrates request-aware shard selection with a Cluster Extension plus upstream request shaping from Go.","isRedistributable":true},{"path":"github.com/dio/transit/examples/cluster-shard-router/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/cluster/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/filter-chain","name":"filterchain","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/filter-chain/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/grpc-callout","name":"grpc_callout","synopsis":"Package grpc_callout demonstrates using up.GRPCCallout to call a rate-limit service (envoy.service.ratelimit.v3.RateLimitService/ShouldRateLimit) from a request body handler.","isRedistributable":true},{"path":"github.com/dio/transit/examples/grpc-callout/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/header-router","name":"headerrouter","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/header-router/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/hello","name":"hello","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/hello/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/host-refresh-hello","name":"main","synopsis":"Package main demonstrates how to wire HostSet and HostRefreshLoop together.","isRedistributable":true},{"path":"github.com/dio/transit/examples/internal/e2etest","name":"e2etest","synopsis":"Package e2etest holds the small bits of Envoy e2e harness code that every example otherwise ends up copying.","isRedistributable":true},{"path":"github.com/dio/transit/examples/internal/otelsink","name":"otelsink","synopsis":"Package otelsink provides an in-memory OTLP gRPC receiver (logs, metrics, traces) for e2e tests.","isRedistributable":true},{"path":"github.com/dio/transit/examples/jwt-callout","name":"jwtcallout","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/jwt-callout/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/lb-policy","name":"lbpolicy","synopsis":"Package lbpolicy demonstrates the LB Policy extension point: Envoy manages the host set via static config or EDS; the module only implements ChooseHost.","isRedistributable":true},{"path":"github.com/dio/transit/examples/lb-policy-header-hash","name":"lbpolicyheaderhash","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/lb-policy-header-hash/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/lb-policy-metadata-route","name":"lbpolicymetadataroute","synopsis":"Package lbpolicymetadataroute demonstrates capability-based routing using Envoy endpoint filter_metadata.","isRedistributable":true},{"path":"github.com/dio/transit/examples/lb-policy-metadata-route/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/lb-policy-retry-aware","name":"lbpolicyretryaware","synopsis":"Package lbpolicyretryaware demonstrates the LB Policy extension point with a retry-aware selection strategy.","isRedistributable":true},{"path":"github.com/dio/transit/examples/lb-policy-retry-aware/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/lb-policy/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/llm-decider","name":"llmdecider","synopsis":"Package llmdecider routes a request to a model tier by asking a judge model.","isRedistributable":true},{"path":"github.com/dio/transit/examples/llm-decider/cmd","name":"main","synopsis":"Command llm-decider is the shared-library entrypoint for this example.","isRedistributable":true},{"path":"github.com/dio/transit/examples/llm-decider/internal/config","name":"config","synopsis":"Package config holds the llm-decider module's runtime configuration.","isRedistributable":true},{"path":"github.com/dio/transit/examples/mcp-catalog-router","name":"mcpcatalogrouter","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/mcp-catalog-router/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/mcp-profile-gateway","name":"mcpprofilegateway","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/mcp-profile-gateway/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/mcp-profile-router","name":"mcpprofilerouter","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/mcp-profile-router/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/mcp-profile-router/modules/alacarte","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/mcp-profile-router/modules/combo","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/metadata","name":"metadata","synopsis":"Package metadata demonstrates metadata-driven routing: an HTTP filter reads static route filter_metadata, writes the tier to dynamic metadata for access logs, and passes the tier via filter state so the Cluster Extension can pick the correct upstream host.","isRedistributable":true},{"path":"github.com/dio/transit/examples/metadata/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/observability","name":"observability","synopsis":"Package observability is a Transit Envoy dynamic module example that demonstrates observability via the active tracing span (OTEL export path) and dynamic metadata for access logs.","isRedistributable":true},{"path":"github.com/dio/transit/examples/observability/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/observability/spike","name":"main","synopsis":"Monitor OTLP metrics, logs, and traces for investigation.","isRedistributable":true},{"path":"github.com/dio/transit/examples/ratelimit","name":"ratelimit","synopsis":"Package ratelimit implements request admission through Envoy's RLS v3 API.","isRedistributable":true},{"path":"github.com/dio/transit/examples/ratelimit/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/request-ui","name":"requestui","synopsis":"Package requestui is a transit filter that records every request and response into a Postgres database (or in-memory ring buffer) and serves a near-realtime web UI.","isRedistributable":true},{"path":"github.com/dio/transit/examples/request-ui/cmd","name":"main","synopsis":"Package main builds the request-ui dynamic module.","isRedistributable":true},{"path":"github.com/dio/transit/examples/request-ui/cmd/simulate","name":"main","synopsis":"simulate feeds synthetic request records into the request-ui sink so you can see the UI working without Envoy or Docker Compose.","isRedistributable":true},{"path":"github.com/dio/transit/examples/request-ui/e2e/testserver","name":"main","synopsis":"testserver is a minimal HTTP backend for request-ui e2e tests.","isRedistributable":true},{"path":"github.com/dio/transit/examples/request-ui/sink","name":"sink","synopsis":"Package sink provides a request log store with an SSE broadcaster and a JSON HTTP API for the request-ui example.","isRedistributable":true},{"path":"github.com/dio/transit/examples/spa","name":"spa","synopsis":"Package spa demonstrates serving a Vite + React SPA directly from an Envoy dynamic module — no file system access, no separate web server.","isRedistributable":true},{"path":"github.com/dio/transit/examples/spa/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/sse-tap","name":"ssetap","synopsis":"Package ssetap taps an SSE response stream to extract LLM token usage without buffering the full body.","isRedistributable":true},{"path":"github.com/dio/transit/examples/sse-tap/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/tiered-single-envoy/cmd","name":"main","synopsis":"Package main renders envoy.tmpl.yaml with default ports for manual inspection.","isRedistributable":true},{"path":"github.com/dio/transit/examples/trace-propagation","name":"tracepropagation","synopsis":"Package tracepropagation is a Transit Envoy dynamic module example that demonstrates W3C trace context propagation through a full four-hop path.","isRedistributable":true},{"path":"github.com/dio/transit/examples/trace-propagation/cmd","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/dio/transit/examples/ws-proxy","name":"wsproxy","synopsis":"Package wsproxy demonstrates the embedded WebSocket proxy pattern using up.Register + up.WithGroup, with a complete implementation for the OpenAI Responses API WebSocket mode at /v1/responses.","isRedistributable":true},{"path":"github.com/dio/transit/examples/ws-proxy/cmd","name":"main","synopsis":"","isRedistributable":true}],"total":73}}
