Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compression ¶
type Compression struct { FolderCallback ExtractFolderCallback FileCallback ExtractFileCallback }
Compression The type of the compression
Contains the callbacks
func (*Compression) ProcessCompression ¶
func (compression *Compression) ProcessCompression(gzipStream io.Reader) error
ProcessCompression Decompress the stream, for each file and folder the corresponding
Callbacks are called
type ExtractFileCallback ¶
ExtractFileCallback called if the current extraction is a file
type ExtractFolderCallback ¶
type ExtractFolderCallback func(relativDir string)
ExtractFolderCallback is called if the current extraction is a folder
Click to show internal directories.
Click to hide internal directories.