Documentation ¶
Index ¶
- type DKVClient
- func (d *DKVClient) DeleteValue(ctx context.Context, key string) error
- func (d *DKVClient) GetClient() (proto.DKVClient, error)
- func (d *DKVClient) GetValue(ctx context.Context, key string) ([]byte, error)
- func (d *DKVClient) RaftJoin(ctx context.Context, nodeId, nodeAddress string) error
- func (d *DKVClient) RaftLeave(ctx context.Context, nodeId string) error
- func (d *DKVClient) RaftState(ctx context.Context) (state string, err error)
- func (d *DKVClient) SetValue(ctx context.Context, key string, value []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.