Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 614 Bytes

README.md

File metadata and controls

52 lines (35 loc) · 614 Bytes

StreamingRPC

Introduction

This is an exercise in building a streaming RPC server.

For both Go and Rust 🎉

Usage

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.

Frontend

cd web
npm run dev

Magic.

Hacking

This is written using connect.build

buf generate