From b21c98f49753d8be873245224891ab6717fbf785 Mon Sep 17 00:00:00 2001 From: Mikhail Rakhmanov Date: Thu, 3 Apr 2025 11:36:07 +0200 Subject: [PATCH] Update test --- commonspace/spacerpc_test.go | 10 ++++++++++ coordinator/coordinatorproto/errors.go | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/commonspace/spacerpc_test.go b/commonspace/spacerpc_test.go index 273ad3fd..dd44695b 100644 --- a/commonspace/spacerpc_test.go +++ b/commonspace/spacerpc_test.go @@ -93,6 +93,16 @@ type RpcServer struct { 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 { return &RpcServer{ spaces: make(map[string]Space), diff --git a/coordinator/coordinatorproto/errors.go b/coordinator/coordinatorproto/errors.go index 0f5fe434..713dd0cc 100644 --- a/coordinator/coordinatorproto/errors.go +++ b/coordinator/coordinatorproto/errors.go @@ -3,7 +3,7 @@ package coordinatorproto import ( "errors" - "github.com/anyproto/any-sync/net/rpc/rpcerr"u + "github.com/anyproto/any-sync/net/rpc/rpcerr" ) var (