package
0.0.0-20201206181251-5ae7496d79a3
Repository: https://github.com/byteball/odex-backend.git
Documentation: pkg.go.dev

# Functions

ConnectionEndpoint is the the handleFunc function for websocket connections It handles incoming websocket messages and routes the message according to channel parameter in channelMessage.
No description provided by the author
GetOHLCVSocket return singleton instance of PairSockets type struct.
GetOrderBookSocket return singleton instance of PairSockets type struct.
GetOrderConn returns the connection associated with an order ID.
GetRawOrderBookSocket return singleton instance of PairSockets type struct.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RegisterConnectionUnsubscribeHandler needs to be called whenever a connection subscribes to a new channel.
RegisterOrderConnection registers a connection with and orderID.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
LoginSocket holds the map of connections subscribed to session ids corresponding to the key/event they have subscribed to.
OHLCVSocket holds the map of subscribtions subscribed to pair channels corresponding to the key/event they have subscribed to.
OrderBookSocket holds the map of subscribtions subscribed to pair channels corresponding to the key/event they have subscribed to.
RawOrderBookSocket holds the map of subscribtions subscribed to pair channels corresponding to the key/event they have subscribed to.
TradeSocket holds the map of connections subscribed to pair channels corresponding to the key/event they have subscribed to.
No description provided by the author

# Type aliases

No description provided by the author