I am looking for answer to this SO overflow question:

https://stackoverflow.com/questions/60679922/how-to-break-out-of-martini-middleware

In essence, I am wondering how to send the response, and *not* invoke any 
of the subsequent middleware that is declared as part of the chain for that 
matching request.
There is a boolean flag on http.Response called http.Response.Close.

It's possible that martini reads from http.Response.Close to see if it 
should invoke the remaining middleware or not, but if so that seems like an 
imperfect practice/methodology.

-alex

-- 
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/b0dbef78-8d0a-49c7-8feb-b3f96ef377ea%40googlegroups.com.

Reply via email to