Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListSupported ¶
func ListSupported() []string
func RegisterCompressor ¶
func RegisterCompressor(name string, comp Compressor) error
Types ¶
type AlreadyExistsError ¶
type AlreadyExistsError string
func (AlreadyExistsError) Error ¶
func (e AlreadyExistsError) Error() string
type Compressor ¶
type Compressor interface { Compress(w io.Writer) (io.WriteCloser, error) Decompress(r io.Reader) (io.ReadCloser, error) }
Compressor interface should cover most cases
func GetCompressor ¶
func GetCompressor(name string) (Compressor, error)
type DoesNotExistError ¶
type DoesNotExistError string
func (DoesNotExistError) Error ¶
func (e DoesNotExistError) Error() string
Click to show internal directories.
Click to hide internal directories.