Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSVFile ¶
type CSVFile struct {
// contains filtered or unexported fields
}
CSVFile CSV文件逐笔数据流
type CSVFileRequest ¶
type CSVFileRequest struct {
// Dir 数据目录
Dir string
// Start 开始时间
Start int64
// End 结束时间
End int64
// Handler 处理函数,用于处理每一个TradeEvent
Handler func(trade types.TradeEvent)
// ErrorHandler 错误处理函数
ErrorHandler func(err error)
// CloseHandler 关闭处理函数
CloseHandler func()
}
CSVFileRequest 请求参数
Click to show internal directories.
Click to hide internal directories.