launcher

package
v0.0.0-...-a287f25 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChannelHWM = 64

Functions

func GetCompressOrderData

func GetCompressOrderData(order *model.Order) ([]byte, error)

Types

type Executor

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

func NewExecutor

func NewExecutor(ctx context.Context, dao dao.DAO, chainCli chain.ChainClient, gm *gasmonitor.GasMonitor, match *match.Server) *Executor

func (*Executor) Run

func (s *Executor) Run() error

type Launcher

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

func NewLaunch

func NewLaunch(ctx context.Context, dao dao.DAO, chainCli chain.ChainClient, match *match.Server, gm *gasmonitor.GasMonitor) *Launcher

func (*Launcher) ImportPrivateKey

func (l *Launcher) ImportPrivateKey(pk string) (string, error)

func (*Launcher) Start

func (l *Launcher) Start() error

type Monitor

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

func NewMonitor

func NewMonitor(ctx context.Context, dao dao.DAO, chainCli chain.ChainClient, match *match.Server) *Monitor

func (*Monitor) Run

func (s *Monitor) Run() error

type Syncer

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

func NewSyncer

func NewSyncer(ctx context.Context, dao dao.DAO, chainCli chain.ChainClient, match *match.Server) *Syncer

func (*Syncer) Run

func (s *Syncer) Run() error

Jump to

Keyboard shortcuts

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