Documentation ¶ Index ¶ func New(r io.Reader, filter func([]byte) ([]byte, error)) io.Reader func NewWriter(r io.Writer, filter func([]byte) ([]byte, error)) io.Writer type Filter func (this *Filter) Transform(dst, src []byte, atEOF bool) (int, int, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(r io.Reader, filter func([]byte) ([]byte, error)) io.Reader func NewWriter ¶ func NewWriter(r io.Writer, filter func([]byte) ([]byte, error)) io.Writer Types ¶ type Filter ¶ type Filter struct { bytes.Buffer Filter func([]byte) ([]byte, error) // contains filtered or unexported fields } func (*Filter) Transform ¶ func (this *Filter) Transform(dst, src []byte, atEOF bool) (int, int, error) Source Files ¶ View all Source files trans.go Directories ¶ Show internal Expand all Path Synopsis old Click to show internal directories. Click to hide internal directories.