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