1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-28 23:06:14 -04:00
v2fly/transport/pipe/writer.go
2018-04-16 14:57:13 +02:00

22 lines
306 B
Go

package pipe
import (
"v2ray.com/core/common/buf"
)
type Writer struct {
pipe *pipe
}
func (w *Writer) WriteMultiBuffer(mb buf.MultiBuffer) error {
return w.pipe.WriteMultiBuffer(mb)
}
func (w *Writer) Close() error {
return w.pipe.Close()
}
func (w *Writer) CloseError() {
w.pipe.CloseError()
}