gonfler

package module
v0.0.0-...-65e4c8c Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2017 License: MIT Imports: 8 Imported by: 0

README

gonfler

A simple un-archive library written in go which handle rar, zip, ...

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Archive

type Archive interface {
	Volumes() VolumeIterator
	Close() error
}

func Open

func Open(name string) (Archive, error)

type RarArchive

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

func (RarArchive) Close

func (archive RarArchive) Close() error

func (RarArchive) Volumes

func (archive RarArchive) Volumes() VolumeIterator

type TarArchive

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

func (TarArchive) Close

func (archive TarArchive) Close() error

func (TarArchive) Volumes

func (archive TarArchive) Volumes() VolumeIterator

type Volume

type Volume struct {
	io.Reader
	// contains filtered or unexported fields
}

type VolumeIterator

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

type ZipArchive

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

func (ZipArchive) Close

func (archive ZipArchive) Close() error

func (ZipArchive) Volumes

func (archive ZipArchive) Volumes() VolumeIterator

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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