YarpConfigurationBuilder.AddClusterWithDestination
Method
type YarpConfigurationBuilder interface { // ... omitted for brevity AddClusterWithDestination( clusterName string, destination any, ) YarpCluster}Signature
method
AddClusterWithDestination Adds a cluster from a single destination.
AddClusterWithDestination( clusterName string, destination any,) YarpClusterParameters
clusterName stringThe name of the cluster.destinationanyThe destination used by this cluster.Returns
YarpCluster The created cluster.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: