Document Close.

This commit is contained in:
Vladimir Mihailenco 2013-11-10 10:06:33 +02:00
parent 3f491f8a8c
commit af4ea559fe
1 changed files with 1 additions and 0 deletions

View File

@ -129,6 +129,7 @@ func (c *baseClient) run(cmd Cmder) {
cmd.setVal(val) cmd.setVal(val)
} }
// Close closes the client, releasing any open resources.
func (c *baseClient) Close() error { func (c *baseClient) Close() error {
return c.connPool.Close() return c.connPool.Close()
} }