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

Method GetPort

p2pserver/net/netserver/netserver.go:165–167  ·  view source on GitHub ↗

GetPort return the sync port

()

Source from the content-addressed store, hash-verified

163
164//GetPort return the sync port
165func (this *NetServer) GetPort() uint16 {
166 return this.base.GetPort()
167}
168
169//GetHttpInfoPort return the port support info via http
170func (this *NetServer) GetHttpInfoPort() uint16 {

Callers 1

TestNewNetServerFunction · 0.95

Calls 1

GetPortMethod · 0.65

Tested by 1

TestNewNetServerFunction · 0.76