loading...

What's the best way to communicate with a Go executable from frontend?

defman profile image Sergey Kislyakov πŸ‡·πŸ‡ΊπŸ‡ΊπŸ‡Έ ・1 min read

I'm working on a Twitch bot and I want to allow the user to easily configure it without editing config files etc. What technology should I use to create a communication layer between my Go executable and a Vue app? I'm looking at gRPC right now.

Discussion

pic
Editor guide
Collapse
danielkun profile image
Daniel Albuschat

You can probably use gRPC, or just a simple REST/json interface, which should be easier to implement from the frontend side of view. At least with less dependencies.