Versions in this module Expand all Collapse all v1 v1.15.0 Nov 22, 2021 Changes in this version + func NewNode(keyId *common.PeerKeyId, listenAddr string, localInfo *peer.PeerInfo, ...) *netserver.NetServer + type Listener struct + func (l *Listener) Accept() (net.Conn, error) + func (l *Listener) Addr() net.Addr + func (l *Listener) Close() error + func (l *Listener) ID() string + func (l *Listener) Network() string + func (l *Listener) PushToAccept(conn net.Conn) + func (l *Listener) String() string + type Network interface + AllowConnect func(id1, id2 common.PeerId) + DeliverRate func(percent uint) + NewDialer func(id common.PeerId) connect_controller.Dialer + NewDialerWithHost func(id common.PeerId, host string) connect_controller.Dialer + NewListener func(id common.PeerId) (string, net.Listener) + NewListenerWithAddr func(id common.PeerId, addr string) net.Listener + func NewNetwork() Network