Versions in this module Expand all Collapse all v1 v1.0.0 Apr 24, 2019 Changes in this version + var ErrArchiverHasBeenDestroyed = errors.New("archiver has been destroyed") + var ErrContentTypeNotFound = errors.New("content type not found") + var ErrNothingToArchive = errors.New("nothing to archive") + var ErrPathIsDirectory = errors.New("path is a directory") + var ErrPathIsNotDirectory = errors.New("path is not a directory") + func BrotliAndGzipFiles(dir string, rgx *regexp.Regexp) ([]string, error) + func CompressWebserverFiles(dir string) ([]string, error) + func FileServer(root http.Dir) http.Handler + type Archiver struct + func NewArchiver() *Archiver + func (a *Archiver) AddCSV(filename string, lines [][]string) error + func (a *Archiver) CreateArchive(p string) error + func (a *Archiver) Destroy()