Versions in this module Expand all Collapse all v1 v1.0.0 Jan 26, 2017 Changes in this version + const API_VERSION + const ENDPOINT + type APIAccount struct + Data APIAccountData + type APIAccountData struct + Balance APIBalance + Created_at string + Currency string + Id string + Name string + Native_balance APIBalance + Primary bool + Resource string + Resource_path string + Type string + Updated_at string + type APIAccounts struct + Data []APIAccountData + Pagination APIPagination + type APIAddress struct + Data APIAddressData + type APIAddressData struct + Address string + Created_at string + Id string + Name string + Network string + Resource string + Resource_path string + Updated_at string + type APIAddresses struct + Data []APIAddressData + Pagination APIPagination + type APIBalance struct + Amount float64 + Currency string + type APIBalanceData struct + Data APIBalance + type APIClient struct + ApiVersion string + Endpoint string + Key string + Secret string + func (a *APIClient) Account(id string) (account APIAccount, err error) + func (a *APIClient) Accounts() (accounts APIAccounts, err error) + func (a *APIClient) Authenticate(path string, req *http.Request) error + func (a *APIClient) CancelRequestMoney(id, transId string) (err error) + func (a *APIClient) CommitBuy(id AccountId, bid BuyId) (buys APIWalletTransfer, err error) + func (a *APIClient) CommitDeposit(id AccountId, did DepositId) (deposits APIWalletTransfer, err error) + func (a *APIClient) CommitSell(id AccountId, sid SellId) (sells APIWalletTransfer, err error) + func (a *APIClient) CommitWithdrawal(id AccountId, wid WithdrawalId) (withdrawals APIWalletTransfer, err error) + func (a *APIClient) CompleteRequestMoney(id, transId string) (err error) + func (a *APIClient) CreateAccount(name string) (account APIAccount, err error) + func (a *APIClient) CreateAddress(id, name string) (address APIAddress, err error) + func (a *APIClient) DeleteAccount(id string) (account APIAccount, err error) + func (a *APIClient) DepositFunds(id AccountId, order APIWalletTransferOrder) (deposits APIWalletTransfer, err error) + func (a *APIClient) Fetch(method, path string, body io.Reader, result interface{}) error + func (a *APIClient) GetAddress(id, addressId string) (address APIAddress, err error) + func (a *APIClient) GetAddresses(id string) (addresses APIAddresses, err error) + func (a *APIClient) GetBuyPrice(c ConfigPrice) (balance APIBalanceData, err error) + func (a *APIClient) GetCurrencies() (curr APICurrencies, err error) + func (a *APIClient) GetCurrentTime() (time APITime, err error) + func (a *APIClient) GetCurrentUser() (user APIUser, err error) + func (a *APIClient) GetCurrentUserAuth() (auth APIUserAuth, err error) + func (a *APIClient) GetExchangeRates(currency string) (rates APIExchangeRates, err error) + func (a *APIClient) GetSellPrice(c ConfigPrice) (balance APIBalanceData, err error) + func (a *APIClient) GetSpotPrice(c ConfigPrice) (balance APIBalanceData, err error) + func (a *APIClient) GetTransaction(id, transId string) (trans APITransaction, err error) + func (a *APIClient) GetTransactions(id string) (trans APITransactions, err error) + func (a *APIClient) GetUser(id string) (user APIUser, err error) + func (a *APIClient) ListAddressTransactions(id, address string) (trans APITransactions, err error) + func (a *APIClient) ListBuys(id AccountId) (buys APIWalletTransferList, err error) + func (a *APIClient) ListDeposits(id AccountId) (deposits APIWalletTransferList, err error) + func (a *APIClient) ListPaymentMethods() (methods APIPaymentMethods, err error) + func (a *APIClient) ListSells(id AccountId) (sells APIWalletTransferList, err error) + func (a *APIClient) ListWithdrawals(id AccountId) (withdrawals APIWalletTransferList, err error) + func (a *APIClient) PlaceBuyOrder(id AccountId, order APIWalletTransferOrder) (buys APIWalletTransfer, err error) + func (a *APIClient) PlaceSellOrder(id AccountId, order APIWalletTransferOrder) (sells APIWalletTransfer, err error) + func (a *APIClient) ResendRequestMoney(id, transId string) (err error) + func (a *APIClient) SendTransferRequestMoney(id string, send APITransactionsSend) (trans APITransaction, err error) + func (a *APIClient) SetPrimaryAccount(id string) (account APIAccount, err error) + func (a *APIClient) ShowBuy(id AccountId, bid BuyId) (buys APIWalletTransfer, err error) + func (a *APIClient) ShowDeposit(id AccountId, did DepositId) (deposits APIWalletTransfer, err error) + func (a *APIClient) ShowPaymentMethod(id PaymentMethodId) (method APIPaymentMethod, err error) + func (a *APIClient) ShowSell(id AccountId, sid SellId) (sells APIWalletTransfer, err error) + func (a *APIClient) ShowWithdrawal(id AccountId, wid WithdrawalId) (withdrawals APIWalletTransfer, err error) + func (a *APIClient) UpdateAccount(id, name string) (account APIAccount, err error) + func (a *APIClient) UpdateCurrentUser(name string) (user APIUser, err error) + func (a *APIClient) WithdrawalFunds(id AccountId, order APIWalletTransferOrder) (withdrawals APIWalletTransfer, err error) + type APIClientEpoch struct + Data struct{ ... } + type APICurrencies struct + Data []APICurrenciesData + type APICurrenciesData struct + Id string + Min_size float64 + Name string + type APIExchangeRates struct + Data APIExchangeRatesData + type APIExchangeRatesData struct + Currency string + Rates map[string]json.Number + type APIPagination struct + Ending_before string + Limit int + Next_uri string + Order string + Previous_uri string + Starting_after string + type APIPaymentMethod struct + Data APIPaymentMethodsData + type APIPaymentMethods struct + Data []APIPaymentMethodsData + Pagination APIPagination + type APIPaymentMethodsData struct + Allow_buy bool + Allow_deposit bool + Allow_sell bool + Allow_withdraw bool + Created_at string + Currency string + ID string + Instant_buy bool + Instant_sell bool + Limits APIPaymentMethodsLimits + Name string + Primary_buy bool + Primary_sell bool + Resource string + Resource_path string + Type string + Updated_at string + type APIPaymentMethodsLimits struct + Buy []APIPaymentMethodsLimitsData + Deposit []APIPaymentMethodsLimitsData + Instant_buy []APIPaymentMethodsLimitsData + Sell []APIPaymentMethodsLimitsData + type APIPaymentMethodsLimitsData struct + Period_in_days int + Remaining APIBalance + Total APIBalance + type APIResource struct + Id string + Resource string + Resource_path string + type APITime struct + Data APITimeData + type APITimeData struct + Epoch int64 + Iso string + type APITransaction struct + Data APITransactionsData + type APITransactions struct + Data []APITransactionsData + Pagination APIPagination + type APITransactionsData struct + Amount APIBalance + Buy APIResource + Created_at string + Description string + Details APITransactionsDataDetails + Id string + Instant_exchange bool + Native_amount APIBalance + Network APITransactionsDataNetwork + Resource string + Resource_path string + Status string + To APIResource + Type string + Updated_at string + type APITransactionsDataDetails struct + Subtitle string + Title string + type APITransactionsDataNetwork struct + Name string + Status string + type APITransactionsSend struct + Amount float64 + Currency string + To string + Type string + type APIUser struct + Data APIUserData + type APIUserAuth struct + Data APIUserAuthData + type APIUserAuthData struct + Method string + Oauth_meta interface{} + Scopes []string + type APIUserCountry struct + Code string + Name string + type APIUserData struct + Avatar_url string + Bitcoin_unit string + Country APIUserCountry + Created_at string + Email string + Id string + Name string + Native_currency string + Profile_bio string + Profile_location string + Profile_url string + Resource string + Resource_path string + Time_zone string + Username string + type APIWalletTransfer struct + Data APIWalletTransferData + type APIWalletTransferData struct + Amount APIBalance + Committed bool + Created_at string + Fee APIBalance + Id string + Instant bool + Payment_method APIResource + Payout_at string + Resource string + Resource_path string + Status string + Subtotal APIBalance + Total APIBalance + Transaction APIResource + Updated_at string + type APIWalletTransferList struct + Data []APIWalletTransferData + Pagination APIPagination + type APIWalletTransferOrder struct + Agree_btc_amount_varies bool + Amount float64 + Commit bool + Currency string + Payment_method string + Quote bool + Total float64 + type AccountId string + type BuyId string + type ConfigPrice struct + Date time.Time + From string + To string + type DepositId string + type PaymentMethodId string + type SellId string + type WithdrawalId string