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:
parent
494697c4d4
commit
88559b457a
2 changed files with 1 additions and 27 deletions
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue