Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RoundRobinServiceConfigPolicy ¶ added in v1.8.15
func RoundRobinServiceConfigPolicy() string
RoundRobinServiceConfigPolicy returns the round-robin service-config JSON *fragment* (without outer braces), identical to what WithRoundRobin returns as loadBalancerPolicy. It exists so a caller that builds its OWN resolver instance (see resolver.NewManualResolverInstance) can obtain the same LB policy without going through WithRoundRobin's process-global resolver registration. The caller wraps this in fmt.Sprintf(`{%s}`, policy) exactly as it does WithRoundRobin's return.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.