grpc-go/examples/features/keepalive
Doug Fawley 02cd07d9bb
cmd/protoc-gen-go-grpc: revert to interface-based service registration (#3911)
2020-09-29 15:17:06 -07:00
..
client examples: add keepalive example (#2637) 2019-02-14 16:58:00 -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