diff options
author | bep <bjorn.erik.pedersen@gmail.com> | 2015-03-18 17:33:12 +0100 |
---|---|---|
committer | bep <bjorn.erik.pedersen@gmail.com> | 2015-03-18 17:33:12 +0100 |
commit | e7099cfa26d31cc7544e6db37899678ef8bd65ff (patch) | |
tree | 3a0152bfbd63c84b23fc578063f9c02b0e9dd0f0 /transform/chain.go | |
parent | 98ee69bce207a4c2a7c2ffca2b3e7c0ccdd6e8c9 (diff) |
Un-export ContentReWriter
Diffstat (limited to 'transform/chain.go')
-rw-r--r-- | transform/chain.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/transform/chain.go b/transform/chain.go index 0edcb6971..a42660245 100644 --- a/transform/chain.go +++ b/transform/chain.go @@ -6,7 +6,7 @@ import ( "io" ) -type trans func(rw ContentReWriter) +type trans func(rw contentRewriter) type link trans @@ -20,14 +20,14 @@ func NewEmptyTransforms() []link { return make([]link, 0, 20) } -// ContentReWriter is an interface that enables rotation +// contentRewriter is an interface that enables rotation // of pooled buffers in the transformer chain. -type ContentReWriter interface { +type contentRewriter interface { Content() []byte io.Writer } -// Implements ContentReWriter +// Implements contentRewriter // Content is read from the from-buffer, // and rewritten to to the to-buffer. type fromToBuffer struct { |