Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counter ¶
type Counter interface { // IncrementAndGet - Increments the value of the counter with the given key and returns the new value. IncrementAndGet(ctx context.Context, key string) (uint64, error) }
Counter - Interface for the counter type store.
func NewCounter ¶
func NewCounter(config configProvider.Config) Counter
NewCounter - Constructs and returns a new Counter.
Click to show internal directories.
Click to hide internal directories.