MCPcopy Create free account
hub / github.com/Authula/authula / SetRouteMetadataFromConfig

Method SetRouteMetadataFromConfig

router.go:208–253  ·  view source on GitHub ↗

SetRouteMetadataFromConfig sets route metadata mappings from RouteMappings. This populates the internal metadata map used to assign ctx.Route.Metadata["plugins"] during request handling. Supports both static and dynamic (parameterized) routes. Format: routeMetadata["METHOD:path"] = {"plugins": ["plu

(routeMetadata map[string]map[string]any)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 2

MergeStringSlicesFunction · 0.92