gzip

package
v0.0.0-...-fab57c2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package gzip provides a mockable wrapper for compress/gzip.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Impl

type Impl struct{}

func (*Impl) NewReader

func (*Impl) NewReader(r io.Reader) (*gzip.Reader, error)

func (*Impl) NewWriter

func (*Impl) NewWriter(w io.Writer) *gzip.Writer

func (*Impl) NewWriterLevel

func (*Impl) NewWriterLevel(w io.Writer, level int) (*gzip.Writer, error)

type Interface

type Interface interface {
	NewReader(r io.Reader) (*gzip.Reader, error)
	NewWriter(w io.Writer) *gzip.Writer
	NewWriterLevel(w io.Writer, level int) (*gzip.Writer, error)
}

Jump to

Keyboard shortcuts

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