Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ Start
Method
Start
p2pserver/net/protocol/server.go:33–33 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
31
//P2P represent the net interface of p2p package
32
type
P2P
interface
{
33
Start()
34
Halt()
35
Connect(addr string) error
36
GetID() uint64
Callers
3
startSigSvr
Function · 0.65
Start
Method · 0.65
TestMsgRouter
Function · 0.65
Implementers
1
NetServer
p2pserver/net/netserver/netserver.go
Calls
no outgoing calls
Tested by
1
TestMsgRouter
Function · 0.52