Skip to content

Commit 217a869

Browse files
committed
doc: update docs for interface changes
1 parent ef934e8 commit 217a869

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)