Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MessagesForUpdateOrder ¶
func MessagesForUpdateOrder(order *common.MemoryOrder) []common.WebSocketMessage
Types ¶
type Engine ¶
type MarketHandler ¶
type MarketHandler struct {
// contains filtered or unexported fields
}
func NewMarketHandler ¶
func NewMarketHandler(ctx context.Context, market string) (*MarketHandler, error)
type OrderBookActivitiesHandler ¶
type OrderBookActivitiesHandler interface {
Update(webSocketMessages []common.WebSocketMessage) sync.WaitGroup
}
type OrderBookSnapshotHandler ¶
type OrderBookSnapshotHandler interface {
Update(key string, snapshot *common.SnapshotV2) sync.WaitGroup
}
Click to show internal directories.
Click to hide internal directories.