grpcplugin

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

README

grpc-plugin

Start the grpc-server example typing following in the grpc-server folder:

go run main.go 

In order to pass custom configuration file (for example the grpc.conf located in the same directory), start grpc-server with following parameter:

go run main --grpc-config=<config-filepath>

Note: main.go must be edited in this case because it makes use of the direct config injection via grpc.UseConf method, which overrides any provided config file. To enable it, remove method mentioned.

Start the grpc-client exampl typing following in the grpc-client folder:

go run main.go

Documentation

Overview

Package grpcplugin contains grpc server & grpc client example.

Directories

Path Synopsis
Example demonstrates the use of GRPC plugin API.
Example demonstrates the use of GRPC plugin API.

Jump to

Keyboard shortcuts

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