MCPcopy
hub / github.com/CodisLabs/codis / Flush

Method Flush

pkg/utils/redis/client.go:76–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74}
75
76func (c *Client) Flush() error {
77 if err := c.conn.Flush(); err != nil {
78 c.Close()
79 return errors.Trace(err)
80 }
81 return nil
82}
83
84func (c *Client) Receive() (interface{}, error) {
85 r, err := c.conn.Receive()

Callers 5

subscribeCommandMethod · 0.45
existsCommandMethod · 0.45
slavesCommandMethod · 0.45
monitorGroupsCommandMethod · 0.45
removeCommandMethod · 0.45

Calls 1

CloseMethod · 0.95

Tested by

no test coverage detected