mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-30 18:13:54 +08:00
doc: peerset fixme
not changing this because i don't want to write a test for it now License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
This commit is contained in:

committed by
Juan Batiz-Benet

parent
45faa4d7a0
commit
19764880d8
@ -7,7 +7,7 @@ import (
|
||||
|
||||
// PeerSet is a threadsafe set of peers
|
||||
type PeerSet struct {
|
||||
ps map[string]bool
|
||||
ps map[string]bool // FIXME can be map[string]struct{}
|
||||
lk sync.RWMutex
|
||||
size int
|
||||
}
|
||||
|
Reference in New Issue
Block a user