MCPcopy
hub / github.com/micro/go-micro / Next

Method Next

config/loader/loader.go:32–32  ·  view source on GitHub ↗

First call to next may return the current Snapshot If you are watching a path then only the data from that path is returned.

()

Source from the content-addressed store, hash-verified

30 // If you are watching a path then only the data from
31 // that path is returned.
32 Next() (*Snapshot, error)
33 // Stop watching for changes
34 Stop() error
35}

Callers 15

TestWatcherFunction · 0.65
watchMethod · 0.65
extractSourceFilePathFunction · 0.65
scanRowsFunction · 0.65
scanRowsFunction · 0.65
rowsToRecordsMethod · 0.65
expireRowsMethod · 0.65
ListMethod · 0.65
rowsToRecordsMethod · 0.65
ListMethod · 0.65
registryWatchFunction · 0.65

Implementers 12

memWatcherregistry/memory_watcher.go
mdnsWatcherregistry/mdns_registry.go
etcdWatcherregistry/etcd/watcher.go
consulWatcherregistry/consul/watcher.go
natsWatcherregistry/nats/nats_watcher.go
watcherconfig/default.go
noopWatcherconfig/source/noop.go
watcherconfig/source/memory/watcher.go
watcherconfig/source/env/watcher.go
watcherconfig/source/file/watcher.go
watcherconfig/source/nats/watcher.go
watcherconfig/loader/memory/memory.go

Calls

no outgoing calls

Tested by 5

TestWatcherFunction · 0.52
TestWatcherFunction · 0.52
TestWatcherStopFunction · 0.52