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