mirror of
https://github.com/Luzifer/nginx-sso.git
synced 2024-12-22 13:51:18 +00:00
16 lines
380 B
Markdown
16 lines
380 B
Markdown
|
# 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](https://github.com/grpc/grpc-go/tree/master/Documentation/keepalive.md).
|
||
|
|
||
|
|
||
|
```
|
||
|
go run server/main.go
|
||
|
```
|
||
|
|
||
|
```
|
||
|
GODEBUG=http2debug=2 go run client/main.go
|
||
|
```
|