Skip to content

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

License

Notifications You must be signed in to change notification settings

mqy/grpc-multi-resolver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:https:///127.0.0.1:1234,dns:https://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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%