Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Syncer ¶
type Syncer interface { // SyncBase syncs the base state of the key-value state. // The key-value state are sent through the returned chan. SyncBase(ctx context.Context) (<-chan clientv3.GetResponse, chan error) // SyncBase syncs the updates of the key-value state. // The update events are sent through the returned chan. SyncUpdates(ctx context.Context) clientv3.WatchChan }
Syncer syncs with the key-value state of an etcd cluster.
Click to show internal directories.
Click to hide internal directories.