Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitMysqlDirectUpload ¶
Types ¶
type InputDataDao ¶
func NewInputDataDao ¶
func NewInputDataDao(ctx context.Context) *InputDataDao
func (*InputDataDao) BatchCreateInputData ¶
func (d *InputDataDao) BatchCreateInputData(in []*model.InputData) (err error)
func (*InputDataDao) CreateInputData ¶
func (d *InputDataDao) CreateInputData(in *model.InputData) (err error)
func (*InputDataDao) ListInputData ¶
func (d *InputDataDao) ListInputData() (in []*model.InputData, err error)
func (*InputDataDao) UpdateInputDataByIds ¶
func (d *InputDataDao) UpdateInputDataByIds(ids []int64) (err error)
type MySqlDirectUpload ¶
type MySqlDirectUpload struct {
// contains filtered or unexported fields
}
var GobalMysqlDirectUpload *MySqlDirectUpload
func NewMySqlDirectUpload ¶
func NewMySqlDirectUpload(ctx context.Context, task *types.Task) *MySqlDirectUpload
NewMySqlDirectUpload 新建一个上传的对象
func (*MySqlDirectUpload) Finish ¶
func (d *MySqlDirectUpload) Finish()
func (*MySqlDirectUpload) StreamUpload ¶
func (d *MySqlDirectUpload) StreamUpload() (count int, err error)
Click to show internal directories.
Click to hide internal directories.