YarpCluster.WithLoadBalancingPolicy
Method
type YarpCluster interface { // ... omitted for brevity WithLoadBalancingPolicy(policy string) YarpCluster}Signature
method
WithLoadBalancingPolicy Set the LoadBalancingPolicy for the cluster.
WithLoadBalancingPolicy(policy string) YarpClusterParameters
policystringReturns
YarpCluster Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: