grpc-go/examples/features/keepalive
赵延 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: add keepalive example (#2637) 2019-02-14 16:58:00 -08:00

README.md

Keepalive

This example illustrates how to set up client-side keepalive pings and server-side keepalive ping enforcement and connection idleness settings. For more details on these settings, see the full documentation.

go run server/main.go
GODEBUG=http2debug=2 go run client/main.go