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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址