Affected by GO-2022-0779
and 2 other vulnerabilities
GO-2022-0873 : Control character injection in console output in github.com/ipfs/go-ipfs
GO-2024-2779 : Access Restriction Bypass in go-ipfs in github.com/ipfs/go-ipfs
Discover Packages
github.com/ipfs/go-ipfs
thirdparty
peerset
package
Version:
v0.4.4
Opens a new window with list of versions in this module.
Published: Oct 10, 2016
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
PeerSet is a threadsafe set of peers
TryAdd Attempts to add the given peer into the set.
This operation can fail for one of two reasons:
1) The given peer is already in the set
2) The number of peers in the set is equal to size
Source Files
¶
Click to show internal directories.
Click to hide internal directories.