1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-07 21:47:02 +09:00

Update test

This commit is contained in:
Mikhail Rakhmanov 2025-04-03 11:36:07 +02:00
parent bdcb1bf35b
commit b21c98f497
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B
2 changed files with 11 additions and 1 deletions

View file

@ -93,6 +93,16 @@ type RpcServer struct {
sync.Mutex sync.Mutex
} }
func (r *RpcServer) StoreDiff(ctx2 context.Context, request *spacesyncproto.StoreDiffRequest) (*spacesyncproto.StoreDiffResponse, error) {
//TODO implement me
panic("implement me")
}
func (r *RpcServer) StoreElements(stream spacesyncproto.DRPCSpaceSync_StoreElementsStream) error {
//TODO implement me
panic("implement me")
}
func NewRpcServer() *RpcServer { func NewRpcServer() *RpcServer {
return &RpcServer{ return &RpcServer{
spaces: make(map[string]Space), spaces: make(map[string]Space),

View file

@ -3,7 +3,7 @@ package coordinatorproto
import ( import (
"errors" "errors"
"github.com/anyproto/any-sync/net/rpc/rpcerr"u "github.com/anyproto/any-sync/net/rpc/rpcerr"
) )
var ( var (