WithDisableServiceConfig returns a DialOption that causes gRPC to ignore any service config provided by the resolver and provides a hint to the resolver to not fetch service configs. Note that this dial option only disables service config from resolver. If default service config is provided, gRPC w
()
| 651 | // Note that this dial option only disables service config from resolver. If |
| 652 | // default service config is provided, gRPC will use the default service config. |
| 653 | func WithDisableServiceConfig() DialOption { |
| 654 | return newFuncDialOption(func(o *dialOptions) { |
| 655 | o.disableServiceConfig = true |
| 656 | }) |
| 657 | } |
| 658 | |
| 659 | // WithDefaultServiceConfig returns a DialOption that configures the default |
| 660 | // service config, which will be used in cases where: |