filtering

package
v0.0.0-...-75eda33 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter interface {
	Filter([]byte) ([]byte, error)
}

type FilterFunc

type FilterFunc func([]byte) ([]byte, error)

func (FilterFunc) Filter

func (m FilterFunc) Filter(bs []byte) ([]byte, error)

type Filtering

type Filtering interface {
	Filter
	Unfilter
}

func Copy

func Copy() Filtering

func GZip

func GZip() Filtering

func LZ4

func LZ4() Filtering

func New

func New(f Filter, u Unfilter) Filtering

func Snappy

func Snappy() Filtering

type Unfilter

type Unfilter interface {
	Unfilter(bs []byte) ([]byte, error)
}

type UnfilterFunc

type UnfilterFunc func([]byte) ([]byte, error)

func (UnfilterFunc) Unfilter

func (f UnfilterFunc) Unfilter(bs []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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