any-sync/service/sync/syncclient.go
2022-07-15 10:14:39 +02:00

9 lines
257 B
Go

package sync
import "github.com/anytypeio/go-anytype-infrastructure-experiments/service/sync/syncpb"
type SyncClient interface {
NotifyHeadsChanged(update *syncpb.SyncHeadUpdate) error
RequestFullSync(id string, request *syncpb.SyncFullRequest) error
}