multiplex/

directory
v0.0.0-...-4c07bca Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0

README

Multiplex

A grpc.ClientConn can be shared by two stubs and two services can share a grpc.Server. This example illustrates how to perform both types of sharing.

go run server/main.go
go run client/main.go

Directories

Path Synopsis
Binary client demonstrates how to use a single grpc.ClientConn for multiple service stubs.
Binary client demonstrates how to use a single grpc.ClientConn for multiple service stubs.
Binary server demonstrates how to use a single grpc.Server instance to register and serve multiple services.
Binary server demonstrates how to use a single grpc.Server instance to register and serve multiple services.

Jump to

Keyboard shortcuts

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