WithTransformQueryRouteValue
Method
func (YarpRoute) WithTransformQueryRouteValue( queryKey string, routeValueKey string, options ...*WithTransformQueryRouteValueOptions,) YarpRouteSignature
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().
Applies to
This method applies to the following types: