Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/kafka-go
/ Close
Method
Close
protocol/conn.go:31–33 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
29
}
30
31
func
(c *Conn) Close() error {
32
return
c.conn.Close()
33
}
34
35
func
(c *Conn) Discard(n int) (int, error) {
36
return
c.buffer.Discard(n)
Callers
8
readFromVersion1
Method · 0.45
readAll
Function · 0.45
writeToVersion2
Method · 0.45
handleRecord
Function · 0.45
ReadControlRecord
Function · 0.45
ReadControlRecord
Method · 0.45
closeMessage
Function · 0.45
readAll
Function · 0.45
Calls
no outgoing calls
Tested by
1
readAll
Function · 0.36