Go to file
kingecg 8ee2bf311f refactor: route can add middleware 2023-12-12 21:44:35 +08:00
.vscode fix file handler and update logger 2023-12-10 01:08:39 +08:00
admin refactor: route can add middleware 2023-12-12 21:44:35 +08:00
hander fix file handler and update logger 2023-12-10 01:08:39 +08:00
model refactor and add middleware 2023-12-11 18:15:29 +08:00
public fix file handler and update logger 2023-12-10 01:08:39 +08:00
server refactor: route can add middleware 2023-12-12 21:44:35 +08:00
vendor add daemon 2023-12-10 19:26:09 +08:00
.gitignore Initial commit 2023-12-06 20:58:08 +08:00
LICENSE Initial commit 2023-12-06 20:58:08 +08:00
Makefile update target 2023-12-10 20:49:38 +08:00
README.md complete RestMux 2023-12-07 22:42:27 +08:00
config.json add daemon 2023-12-10 19:26:09 +08:00
go.mod add daemon 2023-12-10 19:26:09 +08:00
go.sum add daemon 2023-12-10 19:26:09 +08:00
gohttp.go refactor and add middleware 2023-12-11 18:15:29 +08:00
main.go add daemon 2023-12-10 19:26:09 +08:00
util.go fix mux matcher 2023-12-08 22:02:36 +08:00

README.md

gohttp

目标

实现一个类似nginx功能的http服务器

功能

  • 支持静态文件
  • Proxy
  • 支持rewrite

Packages

Server

RestMux 提供Restful API注册功能的 ServerMux