RSS 2025-12-06 03:03
libraries

IPC options for Go-Flutter?

来源:Reddit r/golang

Hi Gophers!

I'm building a Flutter desktop app and I decided to write the app's backend in Go because it is a bit faster than Dart for what I'm doing, and in the future if I decide to add a server sync option I'll be able to reuse most of the backend code.

But I'm not sure which IPC for communication between Go and Flutter I use. Ideally I wanted something similar to flutter_rust_bridge or what the Wails framework offers, you specify structs and methods you want to expose to the frontend and run wails generate bindings and it creates bindings for JavaScript frontend to directly call Go methods as if they were native JS functions.

Is there anything similar for Go-Flutter, what are the options available beside the localhost http-based ones (REST, WebSocket, gRPC)?

submitted by /u/freeelfie
[link] [comments]