Versions in this module Expand all Collapse all v0 v0.1.1 Dec 9, 2024 v0.1.0 Nov 26, 2024 Changes in this version + const StoreName + type Config struct + ProtoconfRoot string + type Store struct + func New(ctx context.Context, endpoints []string, options *Config) (*Store, error) + func (s *Store) Watch(ctx context.Context, key string, opts *store.ReadOptions) (<-chan *store.KVPair, error) + func (s Store) AtomicDelete(ctx context.Context, key string, previous *store.KVPair) (bool, error) + func (s Store) AtomicPut(ctx context.Context, key string, value []byte, previous *store.KVPair, ...) (bool, *store.KVPair, error) + func (s Store) Delete(ctx context.Context, key string) error + func (s Store) DeleteTree(ctx context.Context, directory string) error + func (s Store) Exists(ctx context.Context, key string, opts *store.ReadOptions) (bool, error) + func (s Store) Get(ctx context.Context, key string, opts *store.ReadOptions) (*store.KVPair, error) + func (s Store) List(ctx context.Context, directory string, opts *store.ReadOptions) ([]*store.KVPair, error) + func (s Store) NewLock(ctx context.Context, key string, opts *store.LockOptions) (store.Locker, error) + func (s Store) Put(ctx context.Context, key string, value []byte, opts *store.WriteOptions) error + func (s Store) WatchTree(ctx context.Context, directory string, opts *store.ReadOptions) (<-chan []*store.KVPair, error) + func (w *Store) Close() error