forked from mirror/redis
Document Close.
This commit is contained in:
parent
3f491f8a8c
commit
af4ea559fe
|
@ -129,6 +129,7 @@ func (c *baseClient) run(cmd Cmder) {
|
|||
cmd.setVal(val)
|
||||
}
|
||||
|
||||
// Close closes the client, releasing any open resources.
|
||||
func (c *baseClient) Close() error {
|
||||
return c.connPool.Close()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue