_ "/mbobakov/grpc-consul-resolver" // It's important "/grpc")func main() { conn, err := grpc.Dial( "consul://127.0.0.1:8500/whoami?wait=14s&tag=manual", grpc.WithInsecure(), grpc.WithDefaultServiceConfig(`{"loadBalancingPolicy": "round_robin"}`), ) if err != nil { log.Fatal...
51CTO博客已为您找到关于grpc-consul-resolver的相关内容,包含IT学习相关文档代码介绍、相关教程视频课程,以及grpc-consul-resolver问答内容。更多grpc-consul-resolver相关解答可以来51CTO博客参与分享和学习,帮助广大IT技术人实现成长和进步。
Recently, I faced with lack of documentation when I wanted to use Consul as a host resolver in gRPC connections. That’s why I wanted to write this story.