Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { Command configuration.WebSocketCommand `json:"command"` Channel configuration.WebSocketChannel `json:"channel"` configuration.Symbol `json:"symbol"` }
Request is request of ticker.
type Response ¶
type Response struct { model.ResponseCommon Ask decimal.Decimal `json:"ask"` Bid decimal.Decimal `json:"bid"` High decimal.Decimal `json:"high"` Last decimal.Decimal `json:"last"` Low decimal.Decimal `json:"low"` Symbol configuration.Symbol `json:"symbol"` Timestamp time.Time `json:"timestamp"` Volume decimal.Decimal `json:"volume"` }
Response is response of ticker.
Click to show internal directories.
Click to hide internal directories.