MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Close

Method Close

IceFireDB-SQLProxy/pkg/mysql/packet/conn.go:300–306  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

298}
299
300func (c *Conn) Close() error {
301 c.Sequence = 0
302 if c.Conn != nil {
303 return errors.Wrap(c.Conn.Close(), "Conn.Close failed")
304 }
305 return nil
306}
307
308func (c *Conn) IOErr() error {
309 return c.pkgErr

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected