compressor

package
v0.0.0-...-0dffbe3 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2017 License: MIT Imports: 5 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compression

type Compression interface {
	Encode(source string, target string) error
	Decode(source string, target string) error
}

Compression is the type of compression to use when moving data to a source destination

type Zip

type Zip struct{}

Zip compression will take a file or directory and create a zip archive

func (Zip) Decode

func (compress Zip) Decode(source string, target string) error

Decode data from a zip archive

func (Zip) Encode

func (compress Zip) Encode(source string, target string) error

Encode data to a zip archive

Jump to

Keyboard shortcuts

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