YarpRoute.WithMetadata
Method
type YarpRoute interface { // ... omitted for brevity WithMetadata(metadata map[string]string) YarpRoute}Signature
method
WithMetadata Set the Metadata of the destination
WithMetadata(metadata map[string]string) YarpRouteParameters
metadatamap[string]string Returns
YarpRoute Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: