Create a quick http file server with GO LANG
2014-05-28 16:13
549 查看
#cat httpsfile.go
package main import "net/http" func main(){ h := http.FileServer(http.Dir(".")) //this is https form //http.ListenAndServeTLS(":8001", "rui.crt", "rui.key", h) //normal http, port is 8001 http.ListenAndServe(":8001", h) }
相关文章推荐
- Creating a custom server.xml file with Tomcat
- Http File Server 2.1d.088
- createtextfile遇到http 500错误
- Three ways to create an HTTP Server on IBM i
- java.lang.IllegalArgumentException: attempt to create delete event with null entity
- Web Tier to Go With Java EE 5: Summary of New Features in JavaServer Faces 1.2 Technology
- Create SQL server job with SQL SERVER.
- Create file under /proc -- Manage it with standard file system
- WCF分布式开发常见错误(23):This could be due to the fact that the server certificate is not configured properly with HTTP.SYS
- How to create a PictureMarkerSymbol (Picture Symbol)in ArcGIS server with C#
- ISAPI Extensions: Creating a DLL to Enable HTTP-based File Uploads with IIS
- 一款小巧功能多的文件管理系统Http File Server
- .net Create Excel 2007 file with open xml
- 一句Python代替Http File Server(HFS)
- Create flat file with AE
- Nginx HTTP Server + PHP5 (With fast-cgi And xcache) On Ubuntu Feisty Fawn
- HTTPFile Server:轻松打造完美绿色的个人服务器(含教程)
- How to import LDIF file into LDAP server with command line
- iSCSI SAN Server with Clustering and File Sharing
- Download an HTTP file to SDcard with progress notification