YarpConfigurationBuilder.AddClusterWithDestinations
Method
type YarpConfigurationBuilder interface { // ... omitted for brevity AddClusterWithDestinations( clusterName string, destinations []any, ) YarpCluster}Signature
method
AddClusterWithDestinations Adds a cluster from multiple destinations.
AddClusterWithDestinations( clusterName string, destinations []any,) YarpClusterParameters
clusterName stringThe name of the cluster.destinations[]any The destinations 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: