Skip to content

vickydk/go-grpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-grpc

Description

go-grpc is a Go example that provides how to use GRpc in golang with some configuration. It has the following configuration:

  • using normal configuration.
  • using certificate to connect between GRpc server and client.
  • using middleware configuration.

Requirements

Go 1.12 or above.

Installation

Run the following command to install the package: grpc-protoc

to comiple file *.proto, run this command:

protoc -I pkg/utl/grpc pkg/utl/grpc/helloworld.proto --go_out=plugins=grpc:pkg/utl/grpc 

Getting Started

to running with certificate (server)

go run cmd/server_cert/server.go

to running with certificate (client)

go run cmd/client_cert/client.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages