Versions in this module Expand all Collapse all v1 v1.0.1 Sep 12, 2021 v1.0.0 Sep 12, 2021 Changes in this version + var DB_NAME string = "/history.db" + func BenchmarkDownload(b *testing.B) + func BenchmarkDownload_Seq(b *testing.B) + func Cleanup() + func CreateSqliteDb() + func DeleteAllHistory(db *sql.DB) error + func DeleteHistory(db *sql.DB, id int) + func Download(inf Info, verbose bool) error + func Download_Seq(inf Info, verbose bool) error + func Initialize_table(db *sql.DB) + func InsertHistory(db *sql.DB, hist History) + func OpenSqliteDb() *sql.DB + type History struct + Date string + FileName string + FilePath string + FileSize string + Id int + Success string + func GetHistoryList(db *sql.DB, limit int) []History + type Info struct + Length int64 + Location string + NAME string + Piece_length int64 + Pieces int + func Make_info(url string, name string, location string, pieces int) Info