type github.com/nats-io/nats.go.KeyValue (interface)

Method Implmentations


Create(key string, value []byte) (revision uint64, err error)
Delete(key string, opts ...DeleteOpt) error
Get(key string) (entry KeyValueEntry, err error)
GetRevision(key string, revision uint64) (entry KeyValueEntry, err error)
Keys(opts ...WatchOpt) ([]string, error)
Purge(key string, opts ...DeleteOpt) error
Put(key string, value []byte) (revision uint64, err error)
PutString(key string, value string) (revision uint64, err error)
Update(key string, value []byte, last uint64) (revision uint64, err error)
Watch(keys string, opts ...WatchOpt) (KeyWatcher, error)