Documentation ¶
Overview ¶
Implements AIP2P node based on libp2p
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶ added in v0.0.14
func Connect( node *host.Host, address string, logInfoHandler dnn.LogInfoFunc, logErrorHandler dnn.LogErrorFunc, addPeerToListHandler dnn.AddPeerToListFunc, removePeerFromListHandler dnn.RemovePeerFromListFunc, ) error
func GetAddress ¶ added in v0.0.14
func Listen ¶
func Listen( logInfoHandler dnn.LogInfoFunc, logErrorHandler dnn.LogErrorFunc, addToListHandler dnn.AddPeerToListFunc, removePeerFromListHandler dnn.RemovePeerFromListFunc, ) (*host.Host, error)
Listen on tcp/ip4 on random port
func StopListen ¶ added in v0.0.4
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.