Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMatchedRoutePath ¶ added in v1.13.0
GetMatchedRoutePath returns the matched route path pattern from the request context. For example, if the registered route is "/api/users/:id" and the request is "GET /api/users/123", this returns "/api/users/:id".
func GetRouteFromContext ¶ added in v1.13.1
func WithMatchedRoutePath ¶ added in v1.13.0
WithMatchedRoutePath writes the matched route path pattern into the request context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.