autotest

package
v6.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2019 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuyCase

type BuyCase struct {
	types.BaseCase
	From        string `toml:"from"`
	To          string `toml:"to"`
	TokenAmount string `toml:"tokenAmount"`
	BtyAmount   string `toml:"btyAmount"`
}

BuyCase defines buycase command

type BuyPack

type BuyPack struct {
	types.BaseCasePack
}

BuyPack defines buypack command

func (*BuyPack) GetCheckHandlerMap

func (pack *BuyPack) GetCheckHandlerMap() interface{}

GetCheckHandlerMap defines get check handler for map

type DependBuyCase

type DependBuyCase struct {
	BuyCase
	SellID string `toml:"sellID,omitempty"`
}

DependBuyCase defines depend buycase command

func (*DependBuyCase) SendCommand

func (testCase *DependBuyCase) SendCommand(packID string) (types.PackFunc, error)

SendCommand defines send command function of dependbuycase

func (*DependBuyCase) SetDependData

func (testCase *DependBuyCase) SetDependData(depData interface{})

SetDependData defines set depend data function

type DependBuyPack

type DependBuyPack struct {
	BuyPack
}

DependBuyPack defines depend buy pack command

type SellCase

type SellCase struct {
	types.BaseCase
	From   string `toml:"from"`
	Amount string `toml:"amount"`
}

SellCase defines sell case command

func (*SellCase) SendCommand

func (testCase *SellCase) SendCommand(packID string) (types.PackFunc, error)

SendCommand send command of sellcase

type SellOrderInfo

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

SellOrderInfo sell order information

type SellPack

type SellPack struct {
	types.BaseCasePack
	// contains filtered or unexported fields
}

SellPack defines sell pack command

func (*SellPack) GetCheckHandlerMap

func (pack *SellPack) GetCheckHandlerMap() interface{}

GetCheckHandlerMap defines get check handle for map

func (*SellPack) GetDependData

func (pack *SellPack) GetDependData() interface{}

GetDependData defines get depend data function

Jump to

Keyboard shortcuts

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