# README
conversion
eng, err := conversion.InitMySQL(
conversion.LoginOption(cfg.Addr, cfg.Username, cfg.Password))
if err != nil {
return nil, fmt.Errorf("init conversion:%w", err)
}
conversion.RegisterDatabase(eng)
t := conversion.NewTask()
t.Limit = cfg.Limit
//don't stop when all task is done
t.SetAutoStop(false)
//then start
t.Start()
# Functions
AllHash ...
ByteIndex ...
CheckDatabase ...
CheckNode ...
Checksum ...
CidHash ...
ClearTempOption ...
CreateDatabaseOption ...
DBType ...
ExistVerifyFunc ...
ExistVerifyString ...
FileAbsName ...
FileName ...
FindAll ...
FindHash ...
GetFileIndex ...
GetFiles ...
GetNameIndex ...
IDOption ...
IndexByte ...
No description provided by the author
InitMySQL ...
InitSQLite3 ...
InsertOrUpdate ...
IsExist ...
IsMedia ...
IsPicture ...
IsVideo ...
LastSplit ...
LoadWork ...
LoginOption ...
MakeDatabaseInstance ...
MustDatabase ...
MustSession ...
MustString must string.
NewClusterNode ...
NewInfoWork ...
NewQueue ...
NewSingleNode ...
NewSourceWork ...
NewTask ...
OutputPathOption ...
PosterPathOption ...
RegisterCache ...
RegisterDatabase ...
RegisterNode ...
ResolvedHash ...
SamplePathOption ...
ScaleOption ...
SchemaOption ...
SetCachePath ...
ShowSQLOptions ...
SkipOption ...
SyncTable ...
ThumbPathOption ...
UseCacheOptions ...
UUID ...
VideoFromInfo ...
VideoFromSource ...
VideoPathOption ...
Wrap ...
# Constants
TypeOther ...
TypeOther ...
TypeOther ...
TypeOther ...
TypeOther ...
TypeOther ...
NodeTypeCluster ...
NodeTypeCluster ...
NodeTypeCluster ...
WorkWaiting ...
WorkWaiting ...
WorkWaiting ...
WorkWaiting ...
WorkWaiting ...
# Variables
CachePath ...
DefaultLimit ...
ErrWorkFinish ...
ErrWorkID ...
ErrWrongCastType ...
WorkRunProcessFunction ...
# Type aliases
No description provided by the author
ConfigOptions ...
FindResult ...
FragmentOption ...
HashType ...
No description provided by the author
VideoProcessFunc ...
WorkOptions ...
WorkStatus ...