Documentation
¶
Overview ¶
Package main provides an example of how to use context for timeout and cancellation in the Midaz SDK.
This example demonstrates the following: 1. Setting a timeout on API operations 2. Manually cancelling operations 3. Handling context cancellation errors 4. Using the client's WithContext method for operation groups 5. Proper resource cleanup on cancellation 6. Real-world API call cancellation
Click to show internal directories.
Click to hide internal directories.