()
| 300 | } |
| 301 | |
| 302 | func (c *MemcachedClient) Stop() { |
| 303 | close(c.stop) |
| 304 | |
| 305 | // Stop running async operations. |
| 306 | c.queue.stop() |
| 307 | |
| 308 | // Stop the underlying client. |
| 309 | c.client.Close() |
| 310 | } |
| 311 | |
| 312 | func (c *MemcachedClient) Name() string { |
| 313 | return c.name |