In case of error, return error, don't call the next endpoint.
Only context is given but you can give anything to the function which creates
the middleware, so anything can be included in the closure.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" grou
Hello!I would like to understand how middleware works in go-kit. I want to
write a middleware auth processor but do not understand how to describe the
logic of the process.
That is, I need to take the cookie values from the context and perform the
rights check? After all, in middleware com