Unary RPC - Creating a gRPC service in Go

Опубликовано: 10 Март 2026
на канале: HunCoding
650
53

Today we learned how to create a simple client/server project where both can communicate using the unary format, where sending only one request and receiving one response completes the communication, something we naturally see in a REST application.

Chapter
00:00 Intro
01:30 Creating protobuf (.proto)
06:30 Creating client
14:00 Creating server

Commands to run initially:
go install google.golang.org/protobuf/cmd/protoc/gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest

Install protoc
https://grpc.io/docs/protoc-installat...

Project repository
https://github.com/HunCoding/golang-grpc