Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps a libp2p host with common functionality
func (*Client) ConnectMultiple ¶
ConnectMultiple tries to connect to a peer using multiple addresses Returns the peer ID and the successful address
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func NewNode ¶
func NewNode(cfg NodeConfig) (*Node, error)
func (*Node) ConnectRelay ¶
func (*Node) StartRelay ¶
type NodeConfig ¶
Click to show internal directories.
Click to hide internal directories.