gzips

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2019 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteToGzipper

func WriteToGzipper(buf *bytes.Buffer, filename string) error

Types

type Gzipper

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

Gzipper is a wrapper around .gz

func NewGzipper

func NewGzipper(fileName string) (*Gzipper, error)

NewGzipper returns a wrapper around .gz

func (*Gzipper) Close

func (g *Gzipper) Close() error

func (*Gzipper) Name

func (g *Gzipper) Name() string

func (*Gzipper) Write

func (g *Gzipper) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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