WatchPrefix is a part of kv.Client interface.
(ctx context.Context, prefix string, f func(string, any) bool)
| 329 | |
| 330 | // WatchPrefix is a part of kv.Client interface. |
| 331 | func (m *MultiClient) WatchPrefix(ctx context.Context, prefix string, f func(string, any) bool) { |
| 332 | _ = m.runWithPrimaryClient(ctx, func(newCtx context.Context, primary kvclient) error { |
| 333 | primary.client.WatchPrefix(newCtx, prefix, f) |
| 334 | return newCtx.Err() |
| 335 | }) |
| 336 | } |
| 337 | |
| 338 | func (m *MultiClient) LastUpdateTime(key string) time.Time { |
| 339 | _, kv := m.getPrimaryClient() |
nothing calls this directly
no test coverage detected