grpc-example/

directory
v0.16.85 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: Apache-2.0

README

GRPC sample

Introduction

This sample is based on gRPC Hello World. It demonstrates how convert existing gRPC application to communicate over a Ziti Network

Instructions

Build the code
$ go get github.com/openziti/sdk-golang/example/grpc-example/grpc-client
$ go get github.com/openziti/sdk-golang/example/grpc-example/grpc-server
Create Ziti identities and Service

Follow instructions to create the following:

or use Ziti Edge Developer Sandbox for simplified provisioning.

Run!

Start server

$ $(go env GOPATH)/bin/grpc_server <server_identity> <service_nme> &

Run client

$ $(go env GOPATH)/bin/grpc_client <client_identity> <service_nme> 

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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