Skip to content

Rewrite to use io.Reader and io.Writer#11

Open
tgulacsi wants to merge 3 commits into
divan:masterfrom
tgulacsi:writer
Open

Rewrite to use io.Reader and io.Writer#11
tgulacsi wants to merge 3 commits into
divan:masterfrom
tgulacsi:writer

Conversation

@tgulacsi
Copy link
Copy Markdown

Helps with big responses.

For backward compatibility, EncodeClientRequest does not change,
just introduce a new

EncodeClientRequestW(io.Writer, string, interface{}) error

function.

This is a follow-up of #8, without the maps, and proper error handling in writers.

Helps with big responses.

For backward compatibility, EncodeClientRequest does not change,
just introduce a new

    EncodeClientRequestW(io.Writer, string, interface{}) error

function.
@divan
Copy link
Copy Markdown
Owner

divan commented Jun 15, 2016

Oh, sorry, totally missed this PR!
Will review it this week!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants