Get is a part of kv.Client interface.
(ctx context.Context, key string)
| 291 | |
| 292 | // Get is a part of kv.Client interface. |
| 293 | func (m *MultiClient) Get(ctx context.Context, key string) (any, error) { |
| 294 | _, kv := m.getPrimaryClient() |
| 295 | return kv.client.Get(ctx, key) |
| 296 | } |
| 297 | |
| 298 | // Delete is a part of the kv.Client interface. |
| 299 | func (m *MultiClient) Delete(ctx context.Context, key string) error { |
nothing calls this directly
no test coverage detected