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

twitter logo github logo ・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.

twitter logo DISCUSS (1)
markdown guide

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.

Classic DEV Post from Nov 23 '19

Who are your favorite writers here on DEV?

Who are some people whose posts on DEV you particularly enjoy?

Sergey Kislyakov profile image
Back-end & DevOps.

dev.to now has dark theme. 🌝

Go to the "misc" section of your settings and select night theme

P.S. It's the best move you can make for your dev career.