Open jiyeyuran opened 5 years ago
没有这个接口无法提供go-micro注册中心的插件实现
type Registry interface { Init(...Option) error Options() Options Register(*Service, ...RegisterOption) error Deregister(*Service) error GetService(string) ([]*Service, error) ListServices() ([]*Service, error) Watch(...WatchOption) (Watcher, error) String() string }
/discovery/fetch/all
nice,建议在api.md中加上这个api的文档。
对, 建议在文档上加一下, 这个我找了好久
没有这个接口无法提供go-micro注册中心的插件实现