mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-11-30 05:38:37 +00:00
Interrupt
This commit is contained in:
@@ -236,6 +236,10 @@ func (w *BufferedWriter) Close() error {
|
|||||||
return common.Close(w.writer)
|
return common.Close(w.writer)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (w *BufferedWriter) Interrupt() {
|
||||||
|
common.Interrupt(w.writer)
|
||||||
|
}
|
||||||
|
|
||||||
// SequentialWriter is a Writer that writes MultiBuffer sequentially into the underlying io.Writer.
|
// SequentialWriter is a Writer that writes MultiBuffer sequentially into the underlying io.Writer.
|
||||||
type SequentialWriter struct {
|
type SequentialWriter struct {
|
||||||
io.Writer
|
io.Writer
|
||||||
|
|||||||
Reference in New Issue
Block a user