IWatcher is the interface for watchers.
| 15 | |
| 16 | // IWatcher is the interface for watchers. |
| 17 | type IWatcher interface { |
| 18 | Init(ctx context.Context, rs *redsync.Mutex, config interface{}) error |
| 19 | Spec() string |
| 20 | cron.Job |
| 21 | } |
| 22 | |
| 23 | var ( |
| 24 | registryLock = new(sync.Mutex) |
no outgoing calls
no test coverage detected
searching dependent graphs…