(ctx context.Context, key string, f func(interface{}) bool)
| 88 | } |
| 89 | |
| 90 | func (mc *MockCountingClient) WatchKey(ctx context.Context, key string, f func(interface{}) bool) { |
| 91 | mc.WatchKeyCalls.Inc() |
| 92 | |
| 93 | mc.client.WatchKey(ctx, key, f) |
| 94 | } |
| 95 | |
| 96 | func (mc *MockCountingClient) WatchPrefix(ctx context.Context, key string, f func(string, interface{}) bool) { |
| 97 | mc.WatchPrefixCalls.Inc() |