multiresolver

package module
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2023 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

grpc-multi-resolver

Package multiresolver allows you to Dial to multiple hosts/IPs as a single ClientConn.

Make sure to import this package:

import _ "github.com/Jille/grpc-multi-resolver"

and then you can use it with grpc.Dial():

grpc.Dial("multi:///127.0.0.1:1234,dns://example.org:1234")

Note the triple slash at the beginning.

Note: The ServiceConfig and Attributes from the first target are used, the rest are ignored.

Documentation

Overview

* Package multiresolver allows you to Dial to multiple hosts/IPs as a single ClientConn. * * Usage: multi:///127.0.0.1:1234,dns://example.org:1234 * Note the triple slash at the beginning. * * Make sure to import this package: * ``` * import _ "github.com/codeallergy/grpc-multi-resolver" * ```

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址