Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnexpectedMessageType = errors.New("unexpected message type")
Functions ¶
func HandleRangeRequest ¶
func HandleRangeRequest(ctx context.Context, d ldiff.Diff, req *spacesyncproto.StoreDiffRequest) (resp *spacesyncproto.StoreDiffResponse, err error)
func New ¶
func New() kvinterfaces.KeyValueService
Types ¶
type Client ¶
type Client interface {
StoreDiff(context.Context, *spacesyncproto.StoreDiffRequest) (*spacesyncproto.StoreDiffResponse, error)
}
type RemoteDiff ¶
func NewRemoteDiff ¶
func NewRemoteDiff(spaceId string, client Client) RemoteDiff
Directories
¶
| Path | Synopsis |
|---|---|
|
mock_keyvaluestorage
Package mock_keyvaluestorage is a generated GoMock package.
|
Package mock_keyvaluestorage is a generated GoMock package. |
|
mock_kvinterfaces
Package mock_kvinterfaces is a generated GoMock package.
|
Package mock_kvinterfaces is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.