Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TradesBlockService ¶
type TradesBlockService struct { BlockDuration int64 // contains filtered or unexported fields }
func NewTradesBlockService ¶
func NewTradesBlockService(datastore models.Datastore, blockDuration int64) *TradesBlockService
func (*TradesBlockService) Channel ¶
func (s *TradesBlockService) Channel() chan *dia.TradesBlock
func (*TradesBlockService) Close ¶
func (s *TradesBlockService) Close() error
func (*TradesBlockService) ProcessTrade ¶
func (s *TradesBlockService) ProcessTrade(trade *dia.Trade)
Click to show internal directories.
Click to hide internal directories.