Discover Packages
github.com/coscene-io/cocli
pkg
cmd_utils
package
Version:
v1.1.4-rc1
Opens a new window with list of versions in this module.
Published: Aug 28, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
DownloadFileThroughUrl downloads a single file from the given downloadUrl.
file is the absolute path of the file to be downloaded.
downloadUrl is the pre-signed url to download the file from.
Progress is a simple struct to keep track of the progress of a file upload/download
Print displays the current progress of the file upload
each time Write is called
Write is used to satisfy the io.Writer interface.
Instead of writing somewhere, it simply aggregates
the total bytes on each read
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.