compy/transcoder/identity.go

12 lines
201 B
Go
Raw Normal View History

2015-03-28 22:07:40 +00:00
package transcoder
import (
"github.com/barnacs/compy/proxy"
)
type Identity struct{}
func (i *Identity) Transcode(w *proxy.ResponseWriter, r *proxy.ResponseReader) error {
return w.ReadFrom(r)
2015-03-28 22:07:40 +00:00
}