Files
b1tsblog/internal/store/store.go
jbergner b7edfdd544
Some checks failed
release-tag / release-image (push) Failing after 1m48s
v2-Neuerstellung
2026-05-18 11:25:31 +02:00

12 lines
299 B
Go

package store
import "context"
type CounterStore interface {
Init(ctx context.Context) error
Increment(ctx context.Context, slug string) (int64, error)
Get(ctx context.Context, slug string) (int64, error)
GetMany(ctx context.Context, slugs []string) (map[string]int64, error)
Close() error
}