helloworld/

directory
v3.0.0-...-5ab2063 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: Apache-2.0

README

Hello World

This example demonstrates how to write grpc server and client.

  1. Generate protobuf files.
  2. Implement your service, and register with micro service.

Protobuf

protoc --go_out=proto --micro_out=proto proto/helloworld.proto

Run Server

go run server/main.go --server_name helloworld

Run Client

go run client/main.go

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL