grpc-simple-service

module
v0.0.0-...-9c24fb4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2022 License: MIT

README

grpc-simple-service

Simple gRPC client and server

Services with graceful shutdown, grpc client is lazy: connects to gRPC server in first client call

Start gRPC server hello

go run cmd/hello/main.go

Start gRPC client

go run cmd/client/main.go

Run http request

curl -X POST "http://localhost:8081/hello?name=My_name&idle=5"

Directories

Path Synopsis
cmd
internal
pkg
sig

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳