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

Struct watcher

config/source/nats/watcher.go:11–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type watcher struct {
12 e encoder.Encoder
13 name string
14 bucket string
15 key string
16
17 ch chan *source.ChangeSet
18 exit chan bool
19}
20
21func newWatcher(kv natsgo.KeyValue, bucket, key, name string, e encoder.Encoder) (source.Watcher, error) {
22 w := &watcher{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected