Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WatchEvent ¶
type WatchEvent struct { Type WatchEventType Key string Val []byte PrevVal []byte }
WatchEvent represents a single watched event.
type WatchEventType ¶
type WatchEventType uint8
WatchEventType represents a key watch event type.
const ( // Put represents a put key-value event type. Put WatchEventType = iota // Del represents a delete key-value event type. Del )
type WatchResp ¶
type WatchResp struct { Events []WatchEvent Err error }
WatchResp contains a watch operation response value.
Click to show internal directories.
Click to hide internal directories.