nosql

package
v0.4.30 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KVStore

type KVStore interface {
	KVStoreGetter
	KVStoreSetter
}

type KVStoreGetter

type KVStoreGetter interface {
	Get(ctx context.Context, key string) (string, error)
	Delete(ctx context.Context, key string) error
}

type KVStoreSetter

type KVStoreSetter interface {
	Set(ctx context.Context, key, value string) error
}

type KVStoreWithTTL

type KVStoreWithTTL interface {
	KVStoreGetter
	Set(ctx context.Context, key, value string, TTL time.Duration) error
}

Jump to

Keyboard shortcuts

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