package
0.0.97
Repository: https://github.com/linuxsuren/http-downloader.git
Documentation: pkg.go.dev

# Functions

GetCompressor gets the compressor base on file extension.
IsSupport checks if the desired file extension.
NewBzip2 creates an instance of Bzip2.
NewGZip creates an instance of GZip additionBinaries could be empty or nil.
NewXz creates an instance of Xz.
NewZip creates an instance of zip.

# Structs

Bzip2 implements a compress which based is based on bzip2.
GZip implements a compress which based is based on gzip.
Xz implements a compress which based is based on xz.
Zip implements a compress which is base on zip file.

# Interfaces

Compress is a common compress interface.