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

Function ApplyBasePathToMetadataKey

internal/util/config.go:187–203  ·  view source on GitHub ↗

ApplyBasePathToMetadataKey applies a basePath prefix to a metadata key (METHOD:path) If basePath is empty, the key is returned unchanged Example: ApplyBasePathToMetadataKey("GET:/me", "/api/auth") returns "GET:/api/auth/me"

(key, basePath string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

HandlerMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected