Versions in this module Expand all Collapse all v1 v1.0.1 Sep 28, 2019 Changes in this version + const API_ROOT + func GetNormalizePairName(pair string) string + func NormalizeAssetName(name string) string + type Client struct + func NewClient(apiKey string, apiSecret string) *Client + func (c *Client) BuildQueryString(params map[string]interface{}) string + func (c *Client) Get(endpoint string, params map[string]interface{}) (*http.Response, error) + func (c *Client) HasAuth() bool + func (c *Client) Post(endpoint string, params map[string]interface{}) (*http.Response, error) + func (c *Client) Ticker(pairs ...string) (tickers map[string]Ticker, err error) + type GetLedgerOptions struct + Count int + Type string + type LedgerEntry struct + Amount float64 + Asset string + AssetClass string + Balance float64 + Fee float64 + LedgerID string + ReferenceID string + Timestamp time.Time + Type string + func NewLedgerEntryFromRaw(id string, raw RawLedgerEntry) LedgerEntry + type LedgerService struct + func NewLedgerService(client *Client) *LedgerService + func (s *LedgerService) Ledger(options GetLedgerOptions) ([]LedgerEntry, error) + func (s *LedgerService) RawLedger(params map[string]interface{}) (*RawLedgerResponse, error) + type RawLedgerEntry struct + Amount string + Asset string + AssetClass string + Balance string + Fee string + RefID string + Time float64 + Type string + type RawLedgerResponse struct + Error []string + Raw string + Result struct{ ... } + func (r *RawLedgerResponse) SetRaw(raw string) + type RawSetter interface + SetRaw func(raw string) + type RawTickerPair struct + A []string + B []string + C []string + H []string + O string + P []string + T []int64 + V []string + type RawTickerResponse struct + Error []string + Result map[string]RawTickerPair + type Ticker struct + Ask float64 + Bid float64 + Last float64 + Pair string + Timestamp time.Time