watchers

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2018 License: GPL-3.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Balance added in v1.0.2

type Balance struct {
	User  types.Address
	Token types.Address
}

type BalanceWatcher added in v1.0.2

type BalanceWatcher struct {
	// contains filtered or unexported fields
}

func NewBalanceWatcher added in v1.0.2

func NewBalanceWatcher(ob *orderbook.MongoOrderBook, v *contracts.Vault, in <-chan Balance) BalanceWatcher

func (*BalanceWatcher) Watch added in v1.0.2

func (bw *BalanceWatcher) Watch()

type CancelledWatcher

type CancelledWatcher struct {
	// contains filtered or unexported fields
}

func NewCancelledWatcher

func NewCancelledWatcher(book orderbook.OrderBook, in <-chan *consumers.CancelledMessage) CancelledWatcher

func (*CancelledWatcher) Watch

func (cw *CancelledWatcher) Watch()

type TradeWatcher

type TradeWatcher struct {
	// contains filtered or unexported fields
}

func NewTradeWatcher

func NewTradeWatcher(history history.History, exchange *contracts.Exchange, book orderbook.OrderBook, in <-chan *consumers.TradedMessage) TradeWatcher

func (*TradeWatcher) Watch

func (tf *TradeWatcher) Watch()

type Watcher

type Watcher interface {
	Watch()
}

Jump to

Keyboard shortcuts

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