code: func (api *API) ListRailguns(options RailgunListOptions) ([]Railgun, error) {
  	v := url.Values{}
  	if options.Direction != "" {
  		v.Set("direction", options.Direction)
  	}
  	uri := api.userBaseURL("") + "/railguns" + "?" + v.Encode()
  	res, err := api.makeRequest("GET", uri, nil)
  	if err != nil {
  		return nil, errors.Wrap(err, errMakeRequestError)
  	}
  	var r railgunsResponse
  	if err := json.Unmarshal(res, &r); err != nil {
  		return nil, errors.Wrap(err, errUnmarshalError)
  	}
  	return r.Result, nil
  }
docs: // ListRailguns lists Railguns connected to an account.
  //
  // API reference: https://api.cloudflare.com/#railgun-list-railguns