archiver

package
v0.0.0-...-a5c6689 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewArchiver

func NewArchiver() (a archiver, err error)

Types

type CreateArchive

type CreateArchive func(pathToFile string, res *http.Response) error

type TarArchiver

type TarArchiver struct {
	CreateArchive
}

func (*TarArchiver) Unzip

func (a *TarArchiver) Unzip(pathToFile string) (written int64, err error)

type ZipArchiver

type ZipArchiver struct {
	CreateArchive
}

func (*ZipArchiver) Unzip

func (a *ZipArchiver) Unzip(pathToFile string) (written int64, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL