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

Method GetServices

p2pserver/net/netserver/netserver.go:160–162  ·  view source on GitHub ↗

GetServices return the service state of self peer

()

Source from the content-addressed store, hash-verified

158
159//GetServices return the service state of self peer
160func (this *NetServer) GetServices() uint64 {
161 return this.base.GetServices()
162}
163
164//GetPort return the sync port
165func (this *NetServer) GetPort() uint16 {

Callers 1

TestNewNetServerFunction · 0.95

Calls 1

GetServicesMethod · 0.65

Tested by 1

TestNewNetServerFunction · 0.76