1
0
mirror of https://github.com/dutchcoders/transfer.sh.git synced 2020-11-18 19:53:40 -08:00
2019-03-17 20:19:56 +01:00
..
2019-03-17 20:19:56 +01:00
2019-03-17 20:19:56 +01:00
2019-03-17 20:19:56 +01: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