mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-11-21 23:53:27 +00:00
Interrupt
This commit is contained in:
parent
669c01a5d4
commit
ead185fb84
1 changed files with 4 additions and 0 deletions
|
|
@ -236,6 +236,10 @@ func (w *BufferedWriter) Close() error {
|
|||
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.
|
||||
type SequentialWriter struct {
|
||||
io.Writer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue