//
pkg.gl
Category
github.com/DNAProject/DNA
p2pserver
net
netserver
package
0.7.2
Repository:
https://github.com/dnaproject/dna.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
19
Dependents
1
Files
619 SLOC
#
Functions
NewNetServer
NewNetServer return the net object in p2p.
TLSDial
TLSDial return net.Conn with TLS.
#
Structs
InConnectionRecord
InConnectionRecord include all addr connected.
NetServer
NetServer represent all the actions in net layer.
OutConnectionRecord
OutConnectionRecord include all addr accepted.
PeerAddrMap
PeerAddrMap include all addr-peer list.