package
0.0.0-20201206181251-5ae7496d79a3
Repository: https://github.com/byteball/odex-backend.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
NewOrderCancel returns a new empty OrderCancel object.
No description provided by the author
No description provided by the author
NewTrade returns a new unsigned trade corresponding to an Order, amount and taker address.
# Constants
Enum members for SubscriptionEvent.
No description provided by the author
No description provided by the author
No description provided by the author
Enum members for SubscriptionEvent.
No description provided by the author
Enum members for SubscriptionEvent.
# Structs
Account corresponds to a single Obyte address.
No description provided by the author
AccountRecord corresponds to what is stored in the DB.
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
NewOrderPayload is the struct in which the order request sent by the user is populated.
No description provided by the author
No description provided by the author
Order contains the data related to an order sent by the user.
No description provided by the author
OrderCancel is a group of params used for canceling an order previously sent to the matching engine.
No description provided by the author
No description provided by the author
No description provided by the author
OrderRecord is the object that will be saved in the database.
No description provided by the author
Pair struct is used to model the pair data in the system and DB.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PairID is the subdocument for aggregate grouping for OHLCV data.
No description provided by the author
Params is a sub document used to pass parameters in Subscription messages.
No description provided by the author
No description provided by the author
PairAPIData is a similar structure to PairData that contains human-readable data for a certain pair.
No description provided by the author
Tick is the format in which mongo aggregate pipeline returns data when queried for OHLCV data.
Token struct is used to model the token data in the system and DB.
TokenBalance holds the Balance and the Locked balance values for a single asset.
TokenBalanceRecord corresponds to a TokenBalance struct that is stored in the DB.
TokenRecord is the struct which is stored in db.
Trade struct holds arguments corresponding to a "Taker Order".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
SubscriptionEvent is an enum signifies whether the incoming message is of type Subscribe or unsubscribe.