mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-10 18:10:54 +09:00
WIP compatibility
This commit is contained in:
parent
da23e685f4
commit
e05b2146fa
5 changed files with 121 additions and 1 deletions
|
@ -8,6 +8,7 @@ import (
|
|||
"storj.io/drpc"
|
||||
|
||||
"github.com/anyproto/any-sync/app"
|
||||
"github.com/anyproto/any-sync/commonspace/spacesyncproto"
|
||||
"github.com/anyproto/any-sync/commonspace/sync/syncdeps"
|
||||
"github.com/anyproto/any-sync/util/multiqueue"
|
||||
)
|
||||
|
@ -19,6 +20,11 @@ type CounterSyncHandler struct {
|
|||
updateHandler *CounterUpdateHandler
|
||||
}
|
||||
|
||||
func (c *CounterSyncHandler) HandleDeprecatedObjectSync(ctx context.Context, req *spacesyncproto.ObjectSyncMessage) (resp *spacesyncproto.ObjectSyncMessage, err error) {
|
||||
//TODO implement me
|
||||
panic("implement me")
|
||||
}
|
||||
|
||||
func (c *CounterSyncHandler) ApplyRequest(ctx context.Context, rq syncdeps.Request, requestSender syncdeps.RequestSender) error {
|
||||
collector := NewCounterResponseCollector(c.counter)
|
||||
return requestSender.SendRequest(ctx, rq, collector)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue