Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NopChecker uploadClient.Checker = func(r *uploadClient.Result) error { return nil }
Functions ¶
This section is empty.
Types ¶
type PrepareData ¶
type PrepareData struct { StorerInfo storer.Info DBSaver dbsaver.DBSaver Checker uploadClient.Checker Checkin checker.Checker Subdir string FileType string // contains filtered or unexported fields }
func Prepare ¶
func Prepare(ctx echo.Context, subdir string, fileType string, storerInfo storer.Info) (*PrepareData, error)
Prepare 上传前的环境准备
func (*PrepareData) Close ¶
func (p *PrepareData) Close() error
Click to show internal directories.
Click to hide internal directories.