Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ GetConn
Method
GetConn
p2pserver/link/link.go:96–98 ·
view source on GitHub ↗
get connection
()
Source
from the content-addressed store, hash-verified
94
95
//get connection
96
func
(this *Link) GetConn() net.Conn {
97
return
this.conn
98
}
99
100
//set connection
101
func
(this *Link) SetConn(conn net.Conn) {
Callers
1
Close
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected