Example using gRPC
simplescreenrecorder-2023-02-15_03.32.04.mp4
- go 1.20
Compile protocol buffer.
protoc --go_out=. --go_opt=paths=source_relative \
--go-grpc_out=. --go-grpc_opt=paths=source_relative \
grpc/chat/chat.proto
Start server.
go run server/server.go
Start client.
go run client/client.go