mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-23 07:26:47 +00:00
Use WebsocketEvent in ws client and add timestamp to Tickers
Fixes https://github.com/thrasher-/gocryptotrader/issues/137
This commit is contained in:
@@ -179,7 +179,7 @@ func main() {
|
||||
log.Println("Got orderbook!")
|
||||
|
||||
for {
|
||||
var wsEvent WebsocketEventResponse
|
||||
var wsEvent WebsocketEvent
|
||||
err = WSConn.ReadJSON(&wsEvent)
|
||||
if err != nil {
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user