Closed BlackSinny closed 1 year ago
Maybe you should see https://github.com/smallnest/rpcx/blob/master/server/plugin.go and implement your plugins.
see some examples: https://github.com/rpcxio/rpcx-examples/tree/master/plugin https://github.com/rpcxio/rpcx-examples/tree/master/plugin_blacklist
how i want to do
rpcx framework can print log contain duration[t2-t1],request body、url and so on...
my guess
i used to achieve it in gin middleware,and i want to do it in rpcx plugins