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

Method GetHttpInfoPort

p2pserver/net/netserver/netserver.go:170–172  ·  view source on GitHub ↗

GetHttpInfoPort return the port support info via http

()

Source from the content-addressed store, hash-verified

168
169//GetHttpInfoPort return the port support info via http
170func (this *NetServer) GetHttpInfoPort() uint16 {
171 return this.base.GetHttpInfoPort()
172}
173
174//GetRelay return whether net module can relay msg
175func (this *NetServer) GetRelay() bool {

Callers

nothing calls this directly

Calls 1

GetHttpInfoPortMethod · 0.65

Tested by

no test coverage detected