grpc-go/examples/features/keepalive
Doug Fawley 44d73dff99
cmd/protoc-gen-go-grpc: rework service registration (#3828)
2020-08-25 09:28:01 -07:00
..
client examples: add keepalive example (#2637) 2019-02-14 16:58:00 -08:00
server cmd/protoc-gen-go-grpc: rework service registration (#3828) 2020-08-25 09:28:01 -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