initial commit

This commit is contained in:
Barna Csorogi
2015-03-28 23:07:40 +01:00
commit 343bdd5266
14 changed files with 562 additions and 0 deletions

13
transcoder/identity.go Normal file
View File

@ -0,0 +1,13 @@
package transcoder
import (
"github.com/barnacs/compy/proxy"
"io"
)
type Identity struct{}
func (i *Identity) Transcode(w *proxy.ResponseWriter, r *proxy.ResponseReader) error {
_, err := io.Copy(w, r)
return err
}