MetaOnly instructs the key watcher to retrieve only the entry meta data, not the entry value
()
| 200 | |
| 201 | // MetaOnly instructs the key watcher to retrieve only the entry meta data, not the entry value |
| 202 | func MetaOnly() WatchOpt { |
| 203 | return watchOptFn(func(opts *watchOpts) error { |
| 204 | opts.metaOnly = true |
| 205 | return nil |
| 206 | }) |
| 207 | } |
| 208 | |
| 209 | type PurgeOpt interface { |
| 210 | configurePurge(opts *purgeOpts) error |
no test coverage detected