code: func (s *translateStore) Reader(ctx context.Context, off int64) (io.ReadCloser, error) {
  	// Generate remote URL.
  	u, err := url.Parse(s.node.URI.String())
  	if err != nil {
  		return nil, err
  	}
  	u.Path = "/internal/translate/data"
  	u.RawQuery = (url.Values{
  		"offset": {strconv.FormatInt(off, 10)},
  	}).Encode()
  
  	// Connect a stream to the remote server.
  	req, err := http.NewRequest("GET", u.String(), nil)
  	if err != nil {
  		return nil, err
  	}
  	req = req.WithContext(ctx)
  
  	// Connect a stream to the remote server.
  	resp, err := http.DefaultClient.Do(req)
  	if err != nil {
  		return nil, fmt.Errorf("http: cannot connect to translate store endpoint: %s", err)
  	}
  
  	// Handle error codes or return body as stream.
  	switch resp.StatusCode {
  	case http.StatusOK:
  		return resp.Body, nil
  	case http.StatusNotImplemented:
  		resp.Body.Close()
  		return nil, pilosa.ErrNotImplemented
  	default:
  		body, _ := ioutil.ReadAll(resp.Body)
  		resp.Body.Close()
  		return nil, fmt.Errorf("http: invalid translate store endpoint status: code=%d url=%s body=%q", resp.StatusCode, u.String(), bytes.TrimSpace(body))
  	}
  }
docs: // Reader returns a reader that can stream data from a remote store.