// Stops the given client, which has been started via Client.Start() call.
Stops the given client, which has been started via Client.Start() call.
// Stops the given client which has been started via Client . Start () call .
func (c *Client) Stop() {
	if c.done == nil {
		panic("Did you call Client.Start() before calling Client.Stop()?")
	}
	close(c.requests)
	c.done.Wait()
	c.done = nil
}
func ( c * Client ) Stop ( ) { if c . done == nil { panic ( " " ) } close ( c . requests ) c . done . Wait ( ) c . done = nil }
Stops the given client, which has been started via Client.Start() call.
Stops the given client which has been started via Client . Start () call .