Documentation
¶
Overview ¶
Package kv provides access to Spin key-value stores.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store represents a connection to a key-value store.
func (*Store) GetKeys ¶
GetKeys returns an iterator over the keys in the store. Keys are yielded as they arrive from the host, allowing the consumer to process them concurrently with the underlying stream read.
The iterator yields each key with a nil error. If the host reports an error after the stream completes, a final pair of ("", err) is yielded. Stopping the iteration early releases the underlying stream.
Click to show internal directories.
Click to hide internal directories.