我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Go语言内置的http服务器是生产服务器吗?

I did not see that answer in the documentation, https://golang.org/pkg/net/http/.

It seems pretty complete, but typically I find the built in web servers are never recommended, such as Python, PHP, etc., for anything but development.

Yes. It is a 'production' server if you use it as such. There is no reason why you would not. It is was made with the intent of you using it for real production applications, not just for testing and playing around with the language.

近期文章

  • 如何在html上获取所有元素的名称(我的错误代码运行循环)
  • 在HTTP请求中使用Close
  • 尝试在Go中扫描到int64指针时出现错误
  • Mgo(mongo for go)支持物化路径吗?
  • 如何在Go中自动将数据传递到模板?
  • 如何调试狂欢版本崩溃日志?
  • Golang将地图键设置为其值的变量
  • 如何在make()语句之前确定可用内存
  • 将上下文传递到子目录
  • 如何在按时间范围进行Go过滤结果的Elasticsearch中搜索
  • 在Windows上安装PacketBeat
  • 如何将exec.Command的输出传递到Golang中的另一个命令
  • 如何参数化运算符?
  • 返回之前如何合并两个gorountines的结果?
  • 使用Gorm检索故障有很多
  • Go SQlite并发问题
  • 转到模板:货币管道格式?
  • 在go中将数组编码为base64
  • 求助:Golang文件读取仅读取最后一行
  • go golang的get get命令没有响应

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华