WatchAll watches all keys.
(opts ...WatchOpt)
| 1006 | |
| 1007 | // WatchAll watches all keys. |
| 1008 | func (kv *kvs) WatchAll(opts ...WatchOpt) (KeyWatcher, error) { |
| 1009 | return kv.Watch(AllKeys, opts...) |
| 1010 | } |
| 1011 | |
| 1012 | func (kv *kvs) WatchFiltered(keys []string, opts ...WatchOpt) (KeyWatcher, error) { |
| 1013 | for _, key := range keys { |
no test coverage detected