This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kelp UI: improve ccxt download to show progress for better visibility (…
…#408) * 1 - add github.com/cavaliercoder/grab as a dependency * 2 - DownloadFileWithGrab and usage * 3 - updated DownloadFileWithGrab to provide download progress details * 4 - update error message on download failure * 5 - accommodate a possible nil resp.HTTPResponse * 6 - set req.NoResume = true so it does a fresh download to avoid corrupted files * 7 - timer for calculating download speed should start immediately after respose received * 8 - invokeUpdateHandler on download finished as well
- Loading branch information
1 parent
6b6d47d
commit 9a9fad1
Showing
4 changed files
with
94 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters