MCPcopy Create free account
hub / github.com/LagrangeDev/LagrangeGo / getConn

Method getConn

client/internal/network/conn.go:125–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123}
124
125func (t *TCPClient) getConn() net.Conn {
126 t.lock.RLock()
127 defer t.lock.RUnlock()
128 return t.conn
129}

Callers 2

WriteMethod · 0.95
ReadBytesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected