initial commit
This commit is contained in:
13
transcoder/identity.go
Normal file
13
transcoder/identity.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user