gzipproxy

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package gzipproxy is a package that provides a gzip proxy for the app.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gzip

type Gzip interface {
	NewReader(r ioproxy.ReaderInstanceInterface) (ReaderInstanceInterface, error)
}

Gzip is an interface for gzip.

func New

func New() Gzip

New is a constructor for GzipProxy.

type GzipProxy

type GzipProxy struct{}

GzipProxy is a struct that implements Gzip.

func (*GzipProxy) NewReader

func (*GzipProxy) NewReader(r ioproxy.ReaderInstanceInterface) (ReaderInstanceInterface, error)

NewReader is a proxy for gzip.NewReader.

type ReaderInstance

type ReaderInstance struct {
	FieldReader gzip.Reader
}

ReaderInstance is a struct that implements ReaderInstanceInterface.

type ReaderInstanceInterface

type ReaderInstanceInterface interface {
	ioproxy.ReaderInstanceInterface
	Close() error
}

ReaderInstanceInterface is an interface for gzip.Reader.

Jump to

Keyboard shortcuts

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