grpc-go/examples/features/multiplex
Menghan Li 463950a151
internal: example flag.Parse() and comments (#2526)
2018-12-20 12:43:38 -08:00
..
client internal: example flag.Parse() and comments (#2526) 2018-12-20 12:43:38 -08:00
server internal: example flag.Parse() and comments (#2526) 2018-12-20 12:43:38 -08:00
README.md examples: multiplex (#2477) 2018-12-06 14:02:16 -08:00

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