splitter

package
v0.0.0-...-c5b2729 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2018 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressSplitterConsumer

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

AddressSplitterConsumer relays orders to different channels based on the exchange specified in the order.

func NewExchangeSplitterConsumer

func NewExchangeSplitterConsumer(exchanges map[types.Address]channels.Publisher, defaultPublisher channels.Publisher, concurrency int) *AddressSplitterConsumer

func NewMakerSplitterConsumer

func NewMakerSplitterConsumer(exchanges map[types.Address]channels.Publisher, defaultPublisher channels.Publisher, concurrency int) *AddressSplitterConsumer

func (*AddressSplitterConsumer) Consume

func (consumer *AddressSplitterConsumer) Consume(delivery channels.Delivery)

Jump to

Keyboard shortcuts

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