On Wed, Mar 17, 2021 at 8:54 PM Amnon <amno...@gmail.com> wrote:
>
>
> https://github.com/gorilla/handlers
> contains a number of ResponseWriters to provide functions such as compression 
> and logging
> On Wednesday, 17 March 2021 at 08:41:09 UTC be...@pferdewetten.de wrote:
>>
>> net/http/httptest contains an implementation of http.ResponseWriter that's 
>> used for testing request handlers in isolation (without spinning up a 
>> server).

Thanks both of you!

>>
>> On 17.03.21 03:12, Amit Saha wrote:
>>
>> Hi all,
>>
>> I came across the need for writing a custom ResponseWriter when I
>> wanted to log the response status code.
>>
>> Is there any other use case where this is needed to implement one?
>> Thanks and appreciate any pointers.
>>
>> Best Regards,
>> Amit.
>>
>> --
>> Gregor Best
>>   be...@pferdewetten.de
>
> --
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/5261f1fb-5bba-4c11-b650-304aea20427cn%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CANODV3%3D2Ra64PCdva6d6oPxsQ%2B8kC12zAi42UGFP98_NxZ7sUw%40mail.gmail.com.

Reply via email to