Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2026 Changes in this version + const BaseURL + const DefaultUserAgent + const Host + type Candle struct + Close string + CloseTime int64 + High string + Low string + Open string + OpenTime int64 + Symbol string + Trades int + Volume string + type Client struct + HTTP *http.Client + Rate time.Duration + Retries int + UserAgent string + func NewClient() *Client + func (c *Client) Get(ctx context.Context, rawURL string) ([]byte, error) + func (c *Client) GetAllPrices(ctx context.Context) ([]*Price, error) + func (c *Client) GetAllTickers(ctx context.Context) ([]*Ticker, error) + func (c *Client) GetKlines(ctx context.Context, symbol, interval string, limit int) ([]*Candle, error) + func (c *Client) GetPrice(ctx context.Context, symbol string) (*Price, error) + func (c *Client) GetSymbols(ctx context.Context, limit int) ([]*Symbol, error) + func (c *Client) GetTicker(ctx context.Context, symbol string) (*Ticker, error) + func (c *Client) GetTopGainers(ctx context.Context, limit int) ([]*Ticker, error) + type Domain struct + func (Domain) Classify(input string) (uriType, id string, err error) + func (Domain) Info() kit.DomainInfo + func (Domain) Locate(uriType, id string) (string, error) + func (Domain) Register(app *kit.App) + type Price struct + Price string + Symbol string + type Symbol struct + BaseAsset string + QuoteAsset string + Status string + Symbol string + type Ticker struct + HighPrice string + LastPrice string + LowPrice string + PriceChange string + PriceChangePct string + QuoteVolume string + Symbol string + Volume string