This is an exercise in building a streaming RPC server.
For both Go and Rust 🎉
go run cmd/server/main.go
or
cargo run --bin server
Then using Evans;
On as many terminals as you want
evans --proto greet/v1/greet.proto --port 8080
call GreetStream
On another terminal
evans --proto greet/v1/greet.proto --port 8080
call Greet
and enter a user name.
cd web
npm run dev
Magic.
This is written using connect.build
buf generate