Skip to content

Commit c3c51f7

Browse files
authored
Merge pull request #197 from ipfs/doc/fix
doc: update docs for interface changes
2 parents 71c8fe9 + 217a869 commit c3c51f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
function's output as an argument and passes it to the user.
3333
3434
type ResponseEmitter interface {
35-
io.Closer
35+
Close() error
36+
CloseWithError(error) error
3637
SetLength(length uint64)
37-
SetError(err interface{}, code ErrorType)
3838
Emit(value interface{}) error
3939
}
4040

0 commit comments

Comments
 (0)