Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitTickerController ¶
func InitTickerController(s service.Getter[coinMarketCapService.Ticker], route *gin.RouterGroup, logger logging.Logger) controller.TickerController
Types ¶
type TickerRes ¶
type TickerRes struct { BaseId string `json:"base_id"` BaseName string `json:"base_name"` BaseSymbol string `json:"base_symbol"` QuoteId string `json:"quote_id"` QuoteName string `json:"quote_name"` QuoteSymbol string `json:"quote_symbol"` LastPrice string `json:"last_price"` BaseVolume string `json:"base_volume"` QuoteVolume string `json:"quote_volume"` }
type TickersRes ¶
Click to show internal directories.
Click to hide internal directories.