code: func (r FutureGetNetTotalsResult) Receive() (*btcjson.GetNetTotalsResult, error) {
  	res, err := receiveFuture(r)
  	if err != nil {
  		return nil, err
  	}
  
  	// Unmarshal result as a getnettotals result object.
  	var totals btcjson.GetNetTotalsResult
  	err = json.Unmarshal(res, &totals)
  	if err != nil {
  		return nil, err
  	}
  
  	return &totals, nil
  }
docs: // Receive waits for the response promised by the future and returns network
  // traffic statistics.