gozipstream

package module
v0.0.0-...-0510f2f Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2018 License: MIT Imports: 5 Imported by: 0

README

gozipstream

Zip streaming library for Go (Golang)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZipStream

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

func NewZipStream

func NewZipStream() (z *ZipStream)

func (*ZipStream) Add

func (z *ZipStream) Add(reader io.Reader, name string, mtime time.Time) (err error)

func (*ZipStream) AddFile

func (z *ZipStream) AddFile(fullPath string, relPath string) (err error)

func (*ZipStream) AddSize

func (z *ZipStream) AddSize(size int64, name string, mtime time.Time) (err error)

func (*ZipStream) Close

func (z *ZipStream) Close() error

func (*ZipStream) End

func (z *ZipStream) End() (err error)

func (*ZipStream) Error

func (z *ZipStream) Error(err error) error

func (*ZipStream) Read

func (z *ZipStream) Read(p []byte) (n int, err error)

func (*ZipStream) TotalSize

func (z *ZipStream) TotalSize() (totalSize int64, err error)

Directories

Path Synopsis
Package zip provides support for reading and writing ZIP archives.
Package zip provides support for reading and writing ZIP archives.

Jump to

Keyboard shortcuts

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