1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00

GO-3170: remove not needed code

Signed-off-by: AnastasiaShemyakinskaya <shem98a@mail.ru>
This commit is contained in:
AnastasiaShemyakinskaya 2024-05-31 10:26:29 +02:00
parent 494697c4d4
commit 88559b457a
No known key found for this signature in database
GPG key ID: CCD60ED83B103281
2 changed files with 1 additions and 27 deletions

View file

@ -146,10 +146,6 @@ func (m *mockConf) NodeTypes(nodeId string) []nodeconf.NodeType {
type mockPeerManager struct {
}
func (p *mockPeerManager) IsPeerOffline(senderId string) bool {
return false
}
func (p *mockPeerManager) Init(a *app.App) (err error) {
return nil
}
@ -457,29 +453,6 @@ func (m mockNodeClient) AclAddRecord(ctx context.Context, spaceId string, rec *c
return
}
type mockPeerStatus struct {
}
func (m mockPeerStatus) Init(a *app.App) (err error) {
return
}
func (m mockPeerStatus) Name() (name string) {
return
}
func (m mockPeerStatus) Run(ctx context.Context) (err error) {
return
}
func (m mockPeerStatus) Close(ctx context.Context) (err error) {
return
}
func (m mockPeerStatus) CheckPeerStatus() {}
func (m mockPeerStatus) SendNotPossibleStatus() {}
//
// Space fixture
//