summaryrefslogtreecommitdiff
path: root/libvirt/stream.go
diff options
context:
space:
mode:
Diffstat (limited to 'libvirt/stream.go')
-rw-r--r--libvirt/stream.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvirt/stream.go b/libvirt/stream.go
index 1c5a24e9..4223466c 100644
--- a/libvirt/stream.go
+++ b/libvirt/stream.go
@@ -2,12 +2,12 @@ package libvirt
import libvirt "github.com/libvirt/libvirt-go"
-// StreamIO struct
+// StreamIO libvirt struct
type StreamIO struct {
Stream libvirt.Stream
}
-// NewStreamIO return libvirt StreamIO
+// NewStreamIO returns libvirt StreamIO
func NewStreamIO(s libvirt.Stream) *StreamIO {
return &StreamIO{Stream: s}
}
@@ -20,7 +20,7 @@ func (sio *StreamIO) Write(p []byte) (int, error) {
return sio.Stream.Send(p)
}
-// Close StreamIO
+// Close closes the stream
func (sio *StreamIO) Close() error {
return sio.Stream.Finish()
}