gossip registry
This commit is contained in:
@@ -28,7 +28,10 @@ type WatchOption func(*WatchOptions)
|
||||
var (
|
||||
DefaultRegistry = newConsulRegistry()
|
||||
|
||||
// Not found error when GetService is called
|
||||
ErrNotFound = errors.New("not found")
|
||||
// Watcher stopped error when watcher is stopped
|
||||
ErrWatcherStopped = errors.New("watcher stopped")
|
||||
)
|
||||
|
||||
func NewRegistry(opts ...Option) Registry {
|
||||
|
Reference in New Issue
Block a user