grpc-go/examples/features/multiplex
Elisha Silas 09e6fddbcd
Update docs and examples and tests to use NewClient instead of Dial (#7068)
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
Co-authored-by: Doug Fawley <dfawley@google.com>
2024-04-19 10:55:23 -07:00
..
client Update docs and examples and tests to use NewClient instead of Dial (#7068) 2024-04-19 10:55:23 -07:00
server
README.md

README.md

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