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:
parent
0fd5e0d271
commit
7250d309ea
5 changed files with 57 additions and 4 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue