package
Version:
v0.0.0-...-a7c7adb
Opens a new window with list of versions in this module.
Published: Sep 3, 2023
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
¶
Host 代表当前节点的连接管理
NewHost()用来创建一个Host对象,用来代表当前节点。
type Peer struct {
ID string
}
Peer代表一个节点
Source Files
¶
Click to show internal directories.
Click to hide internal directories.