Documentation ¶
Index ¶
- func UnmarshalDepth(data []byte) (*Depth, error)
- func UnmarshalResponse(data []byte, i interface{}) error
- func UnmarshalTicker(data []byte) (*Ticker, error)
- type BaseResponse
- type Spot
- func (s *Spot) DoNoAuthRequest(method, reqUrl string, params *url.Values, headers map[string]string) ([]byte, error)
- func (s *Spot) GetDepth(pair CurrencyPair, limit int, opt ...OptionParameter) (*Depth, []byte, error)
- func (s *Spot) GetExchangeInfo() (map[string]CurrencyPair, []byte, error)
- func (s *Spot) GetKline(pair CurrencyPair, period KlinePeriod, opt ...OptionParameter) ([]Kline, []byte, error)
- func (s *Spot) GetName() string
- func (s *Spot) GetTicker(pair CurrencyPair, opt ...OptionParameter) (*Ticker, []byte, error)
- func (s *Spot) WithUnmarshalerOptions(opts ...UnmarshalerOption) *Spot
- func (s *Spot) WithUriOptions(opts ...UriOption) *Spot
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnmarshalDepth ¶
func UnmarshalResponse ¶
func UnmarshalTicker ¶
Types ¶
type BaseResponse ¶
type Spot ¶
type Spot struct {
// contains filtered or unexported fields
}
func (*Spot) DoNoAuthRequest ¶
func (*Spot) GetExchangeInfo ¶
func (*Spot) WithUnmarshalerOptions ¶
func (*Spot) WithUriOptions ¶
Click to show internal directories.
Click to hide internal directories.