YarpRoute.WithTransformQueryRouteValue
Method
type YarpRoute interface { // ... omitted for brevity WithTransformQueryRouteValue( queryKey string, routeValueKey string, options ...*WithTransformQueryRouteValueOptions, ) YarpRoute}Signature
method
WithTransformQueryRouteValue Adds the transform that will append or set the query parameter from a route value.
WithTransformQueryRouteValue( queryKey string, routeValueKey string, options ...*WithTransformQueryRouteValueOptions,) YarpRouteParameters
queryKey stringrouteValueKey stringoptions...*WithTransformQueryRouteValueOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithTransformQueryRouteValueOptions argument.
Append*boolReturns
YarpRoute Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: