grpc-go/examples/features/multiplex
赵延 c44f627fd1
cleanup: replace grpc.WithInsecure with insecure.NewCredentials (#5177)
2022-02-09 11:17:46 -08:00
..
client cleanup: replace grpc.WithInsecure with insecure.NewCredentials (#5177) 2022-02-09 11:17:46 -08:00
server cmd/protoc-gen-go-grpc: revert to interface-based service registration (#3911) 2020-09-29 15:17:06 -07: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