Documentation ¶
Index ¶
- func GetParam1() []byte
- func GetParam2() []byte
- func GetParam3() []byte
- type BaseEntry
- type Entry
- type GetStockCount
- type GetStockList
- type Status
- type StockEntry
- type Transfer
- func (trans *Transfer) AddEntry(entry Entry)
- func (trans *Transfer) GetTransSize() uint32
- func (trans *Transfer) GetWeight() uint32
- func (trans *Transfer) Init() int
- func (trans *Transfer) Match(ipaddr string, port uint16) bool
- func (trans *Transfer) Start()
- func (trans *Transfer) Stop()
- func (trans *Transfer) Wait()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseEntry ¶
type BaseEntry struct {
// contains filtered or unexported fields
}
BaseEntry the base transact
type GetStockCount ¶
GetStockCount 获取股票个数
func (*GetStockCount) MakeSendParams ¶
func (entry *GetStockCount) MakeSendParams() []byte
MakeSendParams 创建获取个数的字节序列
func (*GetStockCount) ParseRespond ¶
func (entry *GetStockCount) ParseRespond(params []byte)
ParseRespond 解析返回值
type GetStockList ¶
type GetStockList struct { BaseEntry Market uint16 // 市场代码 Start uint16 // 入参,从多少开始 Stocks []StockEntry // 股票列表 // contains filtered or unexported fields }
GetStockList 获取股票列表
func (*GetStockList) MakeSendParams ¶
func (entry *GetStockList) MakeSendParams() []byte
MakeSendParams a
func (*GetStockList) ParseRespond ¶
func (entry *GetStockList) ParseRespond(params []byte)
ParseRespond 解析返回值
type StockEntry ¶
type StockEntry struct {
// contains filtered or unexported fields
}
StockEntry 定义
Click to show internal directories.
Click to hide internal directories.