code: func (c *Client) PurgeAll(i *PurgeAllInput) (*Purge, error) {
  	if i.Service == "" {
  		return nil, ErrMissingService
  	}
  
  	path := fmt.Sprintf("/service/%s/purge_all", i.Service)
  	req, err := c.RawRequest("POST", path, nil)
  	if err != nil {
  		return nil, err
  	}
  
  	if i.Soft {
  		req.Header.Set("Fastly-Soft-Purge", "1")
  	}
  
  	resp, err := checkResp(c.HTTPClient.Do(req))
  	if err != nil {
  		return nil, err
  	}
  
  	var r *Purge
  	if err := decodeJSON(&r, resp.Body); err != nil {
  		return nil, err
  	}
  	return r, nil
  
  }
docs: // PurgeAll instantly purges everything from a service.