Documentation
¶
Index ¶
Constants ¶
View Source
const CName = "common.commonspace.headsync"
Variables ¶
This section is empty.
Functions ¶
func HandleRangeRequest ¶
func HandleRangeRequest(ctx context.Context, d ldiff.Diff, req *spacesyncproto.HeadSyncRequest) (resp *spacesyncproto.HeadSyncResponse, err error)
Types ¶
type Client ¶
type Client interface {
HeadSync(ctx context.Context, in *spacesyncproto.HeadSyncRequest) (*spacesyncproto.HeadSyncResponse, error)
}
type DiffSyncer ¶
type HeadSync ¶
type HeadSync interface {
app.ComponentRunnable
ExternalIds() []string
AllIds() []string
HandleRangeRequest(ctx context.Context, req *spacesyncproto.HeadSyncRequest) (resp *spacesyncproto.HeadSyncResponse, err error)
}
type RemoteDiff ¶ added in v0.3.11
type RemoteDiff interface {
ldiff.RemoteTypeChecker
ldiff.Remote
}
func NewRemoteDiff ¶
func NewRemoteDiff(spaceId string, client Client) RemoteDiff
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
mock_headstorage
Code generated by MockGen.
|
Code generated by MockGen. |
|
Code generated by MockGen.
|
Code generated by MockGen. |
|
mock_statestorage
Code generated by MockGen.
|
Code generated by MockGen. |
Click to show internal directories.
Click to hide internal directories.