【文件属性】:
文件名称:ipfs, libp2p, swarm notify
文件大小:17KB
文件格式:PDF
更新时间:2021-01-08 02:17:28
ar arm fs
Data Structure
type Swarm struct {
// Close refcount. This allows us to fully wait for the swarm to be torn
// down before continuing.
refs sync.WaitGroup
local peer.ID
peers peerstore.Peerstore
conns struct {
sync.RWMutex
m map[peer.ID][]*Conn
}
listeners struct {
sync.RWMutex
iface