I am using Kite to communicate between microservices. I have a gateway service that passes a kite instance to the handlers, and use a router (Chi) to serve the public API.
As kite is blocking, I am starting the gateway kite with go kite.Run() during the main process in my gateway.
Is there a better way to do this? Any patterns that people are using?
I am using Kite to communicate between microservices. I have a gateway service that passes a kite instance to the handlers, and use a router (Chi) to serve the public API.
As kite is blocking, I am starting the gateway kite with
go kite.Run()
during the main process in my gateway.Is there a better way to do this? Any patterns that people are using?