Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goweb

  • 一个轻量化简单的web服务器,用于进行临时测试

Author

  • chenxuan

使用方法

  • clonemake编译,或者直接下载二进制文件运行

配置文件

  • 配置文件为config/config.json,配置选项为
{
  "server": {
    "port": 5200, // 绑定的端口
    "host": "0.0.0.0" // 绑定的ip(直接为0.0.0.0即可)
  },
  "static_paths": [
    {
      "file_path": ".", // 静态文件的系统路径
      "web_path": "/" // 绑定到web服务器的路径
    }
  ]
}

About

A simple static resource http server for temporary testing

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages