directory
Version:
v3.0.0-...-5ab2063
Opens a new window with list of versions in this module.
Published: Sep 24, 2023
License: Apache-2.0
Opens a new window with license information.
README
¶
Hello World
This example demonstrates how to write grpc server and client.
- Generate protobuf files.
- 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
¶
Click to show internal directories.
Click to hide internal directories.