http.Server 暴露了两个timeout, ReadTimeout 和 WriteTimeout 。你可以显式地使用 Server 来设置它们:. srv := &http.Server{ ReadTimeout: 5 ...
確定! 回上一頁