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/Jille/grpc-multi-resolver" * ```
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseTarget ¶
ParseTarget splits target into a resolver.Target struct containing scheme, authority and endpoint.
If target is not a valid scheme://authority/endpoint, it returns {Endpoint: target}.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.