@cryptotaxi247 / kubo / commits / 94683bb6b

commands: Removed unused output stream field from Response

Matt Bell committed Oct 22, 2014 at 17:08 UTC 94683bb6b227c0fa354e1d1ce9784039276ee803
1 file changed -6
commands/response.go
-6
@@ -4,7 +4,6 @@ import (
4 "encoding/json"
5 "encoding/xml"
6 "fmt"
7 - "io"
7 "strings"
8 )
9
@@ -69,7 +68,6 @@ type response struct {
68 req Request
69 err *Error
70 value interface{}
72 - out io.Writer
71 }
72
73 func (r *response) Request() Request {
@@ -84,10 +82,6 @@ func (r *response) SetValue(v interface{}) {
82 r.value = v
83 }
84
87 -func (r *response) Stream() io.Writer {
88 - return r.out
89 -}
90 -
85 func (r *response) Error() *Error {
86 return r.err
87 }