Categorygithub.com/knut1027/go-gRPC
modulepackage
0.0.0-20240509065738-5c94066fd4bc
Repository: https://github.com/knut1027/go-grpc.git
Documentation: pkg.go.dev

# README

compile

After adding protocol definition to .proto, you need to compile.

protoc greeter.proto --go_out=plugins=grpc:.

start server

go run server/server.go

execute

go run client/client.go world
> Greeting: Hello world

create gRPC document

protoc --doc_out=./docs --doc_opt=html,index.html *.proto

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author

# Variables

No description provided by the author
Greeter_ServiceDesc is the grpc.ServiceDesc for Greeter service.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
UnimplementedGreeterServer must be embedded to have forward compatible implementations.

# Interfaces

GreeterClient is the client API for Greeter service.
GreeterServer is the server API for Greeter service.
UnsafeGreeterServer may be embedded to opt out of forward compatibility for this service.