encoding

package
v0.0.0-...-6b89116 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encoder

type Encoder interface {
	NewWriter(w io.Writer, level int) io.Writer
	GetName() string
}

type EncoderDeflate

type EncoderDeflate struct{}

func (*EncoderDeflate) GetName

func (_ *EncoderDeflate) GetName() string

func (*EncoderDeflate) NewWriter

func (_ *EncoderDeflate) NewWriter(w io.Writer, level int) (ew io.Writer)

type EncoderGzip

type EncoderGzip struct{}

func (*EncoderGzip) GetName

func (_ *EncoderGzip) GetName() string

func (*EncoderGzip) NewWriter

func (_ *EncoderGzip) NewWriter(w io.Writer, level int) (ew io.Writer)

type EncoderNone

type EncoderNone struct{}

func (*EncoderNone) GetName

func (_ *EncoderNone) GetName() (s string)

func (*EncoderNone) NewWriter

func (_ *EncoderNone) NewWriter(w io.Writer, level int) io.Writer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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