Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInitialValuesOver = errors.New("initial values done")
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket[T any] interface { Get(ctx context.Context, key string) (jetstream.KeyValueEntry, *T, error) Put(ctx context.Context, key string, mod *T) (rev uint64, err error) Delete(ctx context.Context, key string, opts ...jetstream.KVDeleteOpt) error Watch(ctx context.Context, match string, opts ...jetstream.WatchOpt) (Watcher[T], error) WatchAll(ctx context.Context, opts ...jetstream.WatchOpt) (Watcher[T], error) }
Click to show internal directories.
Click to hide internal directories.