make extra params interface instead of stream
Requests in broker are processed in functions defined in listrouter.go
. Most of these functions calls processRequest
, where database.Request
object is created. Most of requests differs by operation name their extra parameters. In this MR I change extraParam
from string
to interface{}
. It helps to avoid serialization and de-serialization of json string transferred inside of broker.
Edited by Mikhail Karnevskiy