MCPcopy
hub / github.com/unkeyed/unkey / Path

Method Path

pkg/zen/route.go:20–20  ·  view source on GitHub ↗

Path returns the URL path pattern this route matches.

()

Source from the content-addressed store, hash-verified

18
19 // Path returns the URL path pattern this route matches.
20 Path() string
21}
22
23type route struct {

Callers 4

TestNewRouteFunction · 0.95
RegisterRouteMethod · 0.65
CallRouteFunction · 0.65

Implementers 15

routepkg/zen/route.go
Handlerpkg/pprof/handler.go
Handlersvc/frontline/routes/proxy/handler.go
Handlersvc/frontline/routes/redirect/handler.
Handlersvc/frontline/routes/acme/handler.go
Handlersvc/frontline/routes/internal_health/h
Handlersvc/api/routes/v2_keys_set_permissions
Handlersvc/api/routes/v2_identities_delete_id
Handlersvc/api/routes/v2_ratelimit_get_overri
Handlersvc/api/routes/v2_ratelimit_delete_ove
Handlersvc/api/routes/v2_apis_delete_api/hand
Handlersvc/api/routes/v2_permissions_create_p

Calls

no outgoing calls

Tested by 2

TestNewRouteFunction · 0.76