Skip to content

This repository, named gRPC-unary-pattern.practice, serves as a learning ground for software engineers delving into gRPC, specifically focusing on the Unary pattern using Golang. It contains code snippets and examples to facilitate understanding and implementation of the Unary RPC communication pattern in the context of gRPC.

Notifications You must be signed in to change notification settings

cristianino/gRPC-unary-pattern.practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gRPC Unary Pattern Practice

This repository is a practical guide for software engineers aspiring to master the Unary pattern in gRPC using the Golang programming language.

Overview

The Unary pattern in gRPC represents a straightforward one-to-one communication model, where a client sends a single request to the server and receives a single response. This repository provides a hands-on implementation of the Unary pattern, allowing developers to grasp the fundamentals effectively.

Project Structure

The repository consists of the following files:

  • server.go: Golang implementation of the gRPC server utilizing the Unary pattern.
  • client.go: Golang implementation of the gRPC client, showcasing how to make a Unary RPC call.
  • hellopb.proto: Protocol Buffers file defining the service, message types, and RPC methods.

Run Server

go run hello_server/serve.go

Run Client

go run hello_client/client.go

Response

Response Hello: Welcome Sr Cristian!

About

This repository, named gRPC-unary-pattern.practice, serves as a learning ground for software engineers delving into gRPC, specifically focusing on the Unary pattern using Golang. It contains code snippets and examples to facilitate understanding and implementation of the Unary RPC communication pattern in the context of gRPC.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages