func (a *CookieAuth) Logout(ctx context.Context, c *Client) error {
	_, err := c.DoError(ctx, kivik.MethodDelete, "/_session", nil)
	if a.setJar {
		c.Jar = nil
	}
	return err
}
// Logout deletes the remote session.
Logout deletes the remote session.
// Logout deletes the remote session .
func (a *CookieAuth) Logout(ctx context.Context, c *Client) error {
	_, err := c.DoError(ctx, kivik.MethodDelete, "/_session", nil)
	if a.setJar {
		c.Jar = nil
	}
	return err
}
func ( a * CookieAuth ) Logout ( ctx context . Context , c * Client ) error { _ , err := c . DoError ( ctx , kivik . MethodDelete , " " , nil ) if a . setJar { c . Jar = nil } return err }
Logout deletes the remote session.
Logout deletes the remote session .