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

Method GetHttpInfoPort

p2pserver/peer/peer.go:300–302  ·  view source on GitHub ↗

GetHttpInfoPort return peer`s httpinfo port

()

Source from the content-addressed store, hash-verified

298
299//GetHttpInfoPort return peer`s httpinfo port
300func (this *Peer) GetHttpInfoPort() uint16 {
301 return this.base.GetHttpInfoPort()
302}
303
304//SetHttpInfoPort set peer`s httpinfo port
305func (this *Peer) SetHttpInfoPort(port uint16) {

Callers

nothing calls this directly

Calls 1

GetHttpInfoPortMethod · 0.65

Tested by

no test coverage detected