摘要: 前言 本次解读的源码是go-micro框架中registry仓库的配置,我们通常用以下这段代码来配置etcd。 newRegistry := etcdv3.NewRegistry(func (options *registry.Options) { options.Addrs = []string{ 阅读全文
posted @ 2021-02-18 16:18 ZimskyZeng 阅读(274) 评论(0) 推荐(0) 编辑