bitfinexcom / bitfinex-api-go

BITFINEX Go trading API - Bitcoin, Litecoin, and Ether exchange
https://www.bitfinex.com/
MIT License
310 stars 220 forks source link

detail InfoEvent; reset subscriptions to nil; #147

Closed harlanasimov closed 5 years ago

harlanasimov commented 5 years ago
  1. Add more fields to InfoEvent, to differentiate initial connection or inform regarding relevant events;
  2. handleOpen should be called only when initial connection has been established;
  3. resetSubsribes should be set to nil when resubscribe on reconnect is finished;
  4. Comment debug message logs;