mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
fix mocks
This commit is contained in:
parent
944c9cf10a
commit
49e46e0ee7
2 changed files with 4 additions and 0 deletions
|
@ -197,6 +197,8 @@ func (p *mockPeerManager) GetNodePeers(ctx context.Context) (peers []peer.Peer,
|
|||
return nil, nil
|
||||
}
|
||||
|
||||
func (p *mockPeerManager) KeepAlive(ctx context.Context) {}
|
||||
|
||||
type testPeerManagerProvider struct {
|
||||
}
|
||||
|
||||
|
|
|
@ -64,3 +64,5 @@ func (c *TestPeerManager) SendMessage(ctx context.Context, peerId string, msg dr
|
|||
return []peer.Peer{pr}, nil
|
||||
})
|
||||
}
|
||||
|
||||
func (c *TestPeerManager) KeepAlive(ctx context.Context) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue