1 Star 0 Fork 0

ecohe/fasthttp-autoroute

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
README.md 424 Bytes
一键复制 编辑 原始数据 按行查看 历史
Eco 提交于 4年前 . client to test

fasthttp-autoroute

介绍

Depend on go fasthttp and fasthttp-routing. Route HTTP GET/POST automatically according to your project directory.

使用说明

  1. Update exec/exec.go with yours, and 'go run exec.go'
  2. Import package gencode. Usage:
	router := routing.New()
	auto := gencode.Gencode{}
	auto.RouteAll(router)
	panic(fasthttp.ListenAndServe(*addr, router.HandleRequest))
  1. See test.go.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/ecohe/fasthttp-autoroute.git
git@gitee.com:ecohe/fasthttp-autoroute.git
ecohe
fasthttp-autoroute
fasthttp-autoroute
master

搜索帮助