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