move context keys to common package

This commit is contained in:
Joel Wetzell
2026-03-04 12:33:35 -06:00
parent 10c6e84682
commit 0d4ec24a9b
23 changed files with 54 additions and 30 deletions

View File

@@ -12,11 +12,6 @@ import (
"go.opentelemetry.io/otel/trace"
)
type routeContextKey string
var RouterContextKey routeContextKey = routeContextKey("router")
var SourceContextKey routeContextKey = routeContextKey("source")
type RouteError struct {
Index int
Config config.RouteConfig