compress

package
v0.0.0-...-202aceb Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2016 License: EPL-1.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compress

func Compress(zipname string, files ...string)

func CompressFile

func CompressFile(reader io.ReadCloser, w *zip.Writer, name string) error

func ReadParallel

func ReadParallel(w *zip.Writer, next chan string, out chan *Reading, done chan bool)

func Send

func Send(next chan string, files ...string)

func ZipName

func ZipName(filename string) string

func ZipParallel

func ZipParallel(next chan *Reading, done chan bool, wg *sync.WaitGroup)

Types

type Reading

type Reading struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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