1
0
Fork 0
mirror of https://github.com/Luzifer/nginx-sso.git synced 2024-12-22 05:41:18 +00:00
nginx-sso/vendor/google.golang.org/grpc/examples/features/cancellation
Knut Ahlers 9b3c895c04
Update dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-04-22 06:44:07 +02:00
..
client Update dependencies 2019-04-22 06:44:07 +02:00
server Update dependencies 2019-04-22 06:44:07 +02:00
README.md Update dependencies 2019-04-22 06:44:07 +02:00

Cancellation

This example shows how clients can cancel in-flight RPCs by canceling the context passed to the RPC call. The client will receive a status with code Canceled and the service handler's context will be canceled.

go run server/main.go
go run client/main.go