Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB interface { Close() error Get(ctx context.Context, key string) (string, error) ScanKeys(ctx context.Context, regexp string, count int64) ([]string, error) ScanValues(ctx context.Context, keys []string) ([]any, error) Set(ctx context.Context, key string, value any, expiration time.Duration) error Delete(ctx context.Context, keys ...string) error }
Click to show internal directories.
Click to hide internal directories.