AddClusterWithDestinations
Method
func (YarpConfigurationBuilder) AddClusterWithDestinations( clusterName string, destinations []any,) YarpClusterSignature
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().
Applies to
This method applies to the following types: