Get retrieves the current value of a counter. Parameters: - ctx: Context for cancellation and tracing - key: Unique identifier for the counter Returns: - int64: The current counter value - error: Any errors that occurred during the operation If the counter doesn't exist, implementations should ret
(ctx context.Context, key string)
| 46 | // If the counter doesn't exist, implementations should |
| 47 | // return 0 and nil error, not an error. |
| 48 | Get(ctx context.Context, key string) (int64, error) |
| 49 | |
| 50 | // MultiGet retrieves the values of multiple counters in a single operation. |
| 51 | // |
no outgoing calls