MCPcopy Create free account
hub / github.com/apache/dubbo-go / WithClientLoadBalanceRandom

Function WithClientLoadBalanceRandom

client/options.go:773–777  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

771}
772
773func WithClientLoadBalanceRandom() ClientOption {
774 return func(opts *ClientOptions) {
775 opts.overallReference.Loadbalance = constant.LoadBalanceKeyRandom
776 }
777}
778
779func WithClientLoadBalanceRoundRobin() ClientOption {
780 return func(opts *ClientOptions) {

Callers 1

Calls

no outgoing calls

Tested by 1