Documentation ¶
Index ¶
- type KVS
- func (k *KVS) Close() error
- func (k *KVS) ForEach(fn func(key string, value []byte) error) error
- func (k *KVS) GetMulti(ctx context.Context, keys []string, fn func(key string, value []byte) error) error
- func (k *KVS) Set(key string, value []byte) error
- func (k *KVS) SetMulti(fn func(set func(key string, value []byte) error) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KVS ¶
type KVS struct {
// contains filtered or unexported fields
}
func (*KVS) GetMulti ¶
func (k *KVS) GetMulti(ctx context.Context, keys []string, fn func(key string, value []byte) error) error
GetMulti calls |fn| in parallel for cached entries.
Click to show internal directories.
Click to hide internal directories.