- Building Microservices with Go
- Nic Jackson
- 47字
- 2021-07-15 17:28:05
WithTimeout
The WithTimeout method is similar to WithDeadline except you pass it a duration for which the Context type should exist. Once this duration has elapsed, the Done channel is closed and the resources associated with the context are released:
func WithTimeout(parent Context, timeout time.Duration) (Context, CancelFunc)
推薦閱讀
- DB2 V9權威指南
- 軟件項目估算
- Learning Docker
- AWS Serverless架構:使用AWS從傳統部署方式向Serverless架構遷移
- 軟件測試項目實戰之性能測試篇
- Building Cross-Platform Desktop Applications with Electron
- Blender 3D Incredible Machines
- 大學計算機基礎(第2版)(微課版)
- Android應用案例開發大全(第二版)
- IBM Cognos Business Intelligence 10.1 Dashboarding cookbook
- Clean Code in C#
- 編程改變生活:用Python提升你的能力(進階篇·微課視頻版)
- Nagios Core Administration Cookbook(Second Edition)
- Python Digital Forensics Cookbook
- 軟件測試技術