Skip to content

MagicRodri/grpc_with_go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gRPC with Go

This project demonstrates how to build and use gRPC services in Go.

Features

  • Define gRPC services using Protocol Buffers
  • Implement server and client in Go
  • Example request/response handling

Prerequisites

  • Go 1.18+
  • protoc Protocol Buffers compiler
  • protoc-gen-go and protoc-gen-go-grpc plugins

Setup

  1. Clone the repository:

    git clone https://github.com/MagicRodri/grpc_with_go.git
    cd grpc_with_go
  2. Install dependencies:

    go mod tidy
  3. Generate gRPC code:

    make proto

Running

  • Start the server:

    go run server/main.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published