compy/transcoder/identity.go

13 lines
234 B
Go
Raw Normal View History

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