grpc-compatible

command
v12.2.0-beta4 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

README

gRPC Iris Example

Generate TLS Keys

$ openssl genrsa -out server.key 2048
$ openssl req -new -x509 -sha256 -key server.key -out server.crt -days 3650

Install the protoc Go plugin

$ go get -u github.com/golang/protobuf/protoc-gen-go

Generate proto

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package main implements a client for Greeter service.
Package main implements a client for Greeter service.

Jump to

Keyboard shortcuts

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