![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Go
文章平均质量分 95
我想要天山上的星星
这个作者很懒,什么都没留下…
展开
-
golang开发的http服务器,这个是终极版了!
package main import ( "crypto/md5" "fmt" "io" "log" "net/http" "os" "path/filepath" "strconv" "strings" "time" "path" "bufio" ) const ( TYPE_json = 1 TYPE_text = 2 ) const tpl = `<html> <head> <title>上传文件</title>原创 2020-11-12 12:01:05 · 257 阅读 · 0 评论 -
GO语言开发的http简单服务器,可上传,下载
package main import ( "crypto/md5" "fmt" "io" "log" "net/http" "os" "path/filepath" "strconv" "strings" "time" ) const ( TYPE_json = 1 TYPE_text = 2 ) const tpl = `<html> <head> <title>上传文件</title> </head> .原创 2020-08-14 14:57:20 · 484 阅读 · 0 评论