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

peer.SetTTL method

This commit is contained in:
Sergey Cherepanov 2023-08-09 15:33:49 +02:00
parent 0fd5e0d271
commit 7250d309ea
No known key found for this signature in database
GPG key ID: 87F8EDE8FBDF637C
5 changed files with 57 additions and 4 deletions

View file

@ -58,6 +58,10 @@ func (p pushSpaceRequestMatcher) String() string {
type mockPeer struct {
}
func (m mockPeer) SetTTL(ttl time.Duration) {
return
}
func (m mockPeer) Id() string {
return "peerId"
}