package elastic import ( "context" "fmt" ) // close the client func (c *Client) Teardown(ctx context.Context) error { if c == nil || c.ch == nil { return fmt.Errorf("error source not opened for reading") } return nil }