Go实战--golang实现静态文件服务器(文件查看,文件上传,文件下载)

package net/http 几个方法: http.FileServer FileServer returns a handler that serves HTTP requests with the contents of the file system rooted at root.css func StripPrefix(prefix string, h Handler) Handler
相关文章
相关标签/搜索