tradesBlockService

package
v1.2.1-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2021 License: GPL-2.0 Imports: 9 Imported by: 0

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 (ps *TradesBlockService) Channel() chan *dia.TradesBlock

func (*TradesBlockService) Close

func (s *TradesBlockService) Close() error

func (*TradesBlockService) ProcessTrade

func (s *TradesBlockService) ProcessTrade(trade *dia.Trade)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL