From 217a86952dd936314599c5ad9c2fbc52ccdd5d63 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Wed, 29 Apr 2020 08:57:25 -0700 Subject: [PATCH] doc: update docs for interface changes --- doc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc.go b/doc.go index a3c4e31..34cf4c4 100644 --- a/doc.go +++ b/doc.go @@ -32,9 +32,9 @@ function's output as an argument and passes it to the user. type ResponseEmitter interface { - io.Closer + Close() error + CloseWithError(error) error SetLength(length uint64) - SetError(err interface{}, code ErrorType) Emit(value interface{}) error } -- GitLab