diff options
Diffstat (limited to 'common/iowrap/write_flusher.go')
| -rw-r--r-- | common/iowrap/write_flusher.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/iowrap/write_flusher.go b/common/iowrap/write_flusher.go new file mode 100644 index 00000000..aaac8724 --- /dev/null +++ b/common/iowrap/write_flusher.go @@ -0,0 +1,9 @@ +package iowrap + +import "io" + +// WriteFlusher writes bytes and flushes buffered output state. +type WriteFlusher interface { + io.Writer + Flush() error +} |
