Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gRPC Chat

Just playing with gRPC in Go to create a little chat app, and, Bubble Tea because, well, why not! It's just an exercise for me to get better at Go.

screenshot

Notes:

  • Initialize project with "go mod init gorpcchat"
  • When adding a new import "go mod tidy"

Installing gRPC

go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
  • Modified chat/chat.proto

Generated objects using:

protoc --go_out=. --go_opt=paths=source_relative \
    --go-grpc_out=. --go-grpc_opt=paths=source_relative \
    chat/chat.proto

About

[Study] Just playing with gRPC on a Go chat app

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages