MCPcopy Create free account
hub / github.com/DNAProject/DNA / GetNetWork

Method GetNetWork

p2pserver/p2pserver.go:132–134  ·  view source on GitHub ↗

GetNetWork returns the low level netserver

()

Source from the content-addressed store, hash-verified

130
131// GetNetWork returns the low level netserver
132func (this *P2PServer) GetNetWork() p2pnet.P2P {
133 return this.network
134}
135
136//GetPort return two network port
137func (this *P2PServer) GetPort() uint16 {

Callers 4

initNodeInfoFunction · 0.80
handleGetNodeTypeReqMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected