Discover Packages
github.com/abulleDev/mcserverdl
cmd
mcserverdl
internal
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jun 30, 2025
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Download downloads a file from a given URL to a specified path and shows progress.
func MergeZips(baseZipPath, overlayZipPath, outputZipPath string ) error
MergeZips combines two zip archives. It overlays the files from overlayZipPath
on top of baseZipPath. If a file exists in both archives, the one from
overlayZipPath is used in the final outputZipPath.
type ProgressWriter struct {
ProgressChan chan int
}
ProgressWriter implements io.Writer to track download progress.
It sends the number of bytes written to a channel.
Write implements the io.Writer interface.
It writes the byte slice p and sends the number of bytes written to the ProgressChan.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.