看了下grpc源码, 里面的超时用法正常是ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
確定! 回上一頁