MCPcopy
hub / github.com/grafana/dskit / Close

Method Close

kv/memberlist/tcp_transport_conn.go:60–63  ·  view source on GitHub ↗

Close implement net.Conn.

()

Source from the content-addressed store, hash-verified

58
59// Close implement net.Conn.
60func (c *meteredConn) Close() error {
61 c.flush()
62 return c.Conn.Close()
63}
64
65// SetDeadline implements net.Conn.
66func (c *meteredConn) SetDeadline(t time.Time) error {

Callers

nothing calls this directly

Calls 2

flushMethod · 0.95
CloseMethod · 0.65

Tested by

no test coverage detected