AddCatchAllRoute
Method
func (YarpConfigurationBuilder) AddCatchAllRoute(target any) YarpRouteSignature
method
AddCatchAllRoute Adds a catch-all route for a cluster, endpoint, resource, or string destination target.
AddCatchAllRoute(target any) YarpRouteParameters
targetanyThe target cluster, endpoint, resource, or string destination for this route.Returns
YarpRoute The created route.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: