Versions in this module Expand all Collapse all v1 v1.0.0 Jun 11, 2018 Changes in this version + func SocketHandler(hub *Hub, c *gin.Context) + type Client struct + type Data interface + type FuturesData struct + Asks [][2]string + Bids [][2]string + type Hub struct + EtcdClient *clientv3.Client + func NewHub() *Hub + func (h *Hub) RunBroadcaster() + func (h *Hub) RunOrderBookWatcher() + func (h *Hub) RunTradeWatcher() + type Message struct + Data Data + FuturesID string + Mode string + Type string + type TradeData struct + Price string + Quantity string + Time string