func (c *ClientSet) Stop() {
	c.Lock()
	defer c.Unlock()

	if c.consul != nil {
		c.consul.transport.CloseIdleConnections()
	}

	if c.vault != nil {
		c.vault.httpClient.Transport.(*http.Transport).CloseIdleConnections()
	}
}
func (c *ClientSet) Stop() {
	c.Lock()
	defer c.Unlock()

	if c.consul != nil {
		c.consul.transport.CloseIdleConnections()
	}

	if c.vault != nil {
		c.vault.httpClient.Transport.(*http.Transport).CloseIdleConnections()
	}
}
func ( c * ClientSet ) Stop ( ) { c . Lock ( ) defer c . Unlock ( ) if c . consul != nil { c . consul . transport . CloseIdleConnections ( ) } if c . vault != nil { c . vault . httpClient . Transport . ( * http . Transport ) . CloseIdleConnections ( ) } }
// Stop closes all idle connections for any attached clients.
Stop closes all idle connections for any attached clients .