MCPcopy 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
96func (this *Link) GetConn() net.Conn {
97 return this.conn
98}
99
100//set connection
101func (this *Link) SetConn(conn net.Conn) {

Callers 1

CloseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected