filter

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2018 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 {
	Start(dst io.WriteCloser, src io.Reader) error
}

func NewFilter

func NewFilter(name string, options config.Options, logger *logrus.Logger) (Filter, error)

type NewFilterFunc

type NewFilterFunc func(config.Options, *logrus.Logger) (Filter, error)

type Regexp

type Regexp struct {
	Regexp  *regexp.Regexp
	Replace string
	Logger  *logrus.Logger
}

func (*Regexp) Start

func (r *Regexp) Start(dst io.WriteCloser, src io.Reader) error

Jump to

Keyboard shortcuts

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