store

package
v0.0.0-...-85f45e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2023 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL