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

Method unexpectedClose

client/internal/network/conn.go:93–96  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

91}
92
93func (t *TCPClient) unexpectedClose(err error) {
94 t.close()
95 t.invokeUnexpectedDisconnect(err)
96}
97
98func (t *TCPClient) close() {
99 t.lock.Lock()

Callers 2

WriteMethod · 0.95
ReadBytesMethod · 0.95

Calls 2

closeMethod · 0.95

Tested by

no test coverage detected