dotweb
dotweb copied to clipboard
Simple and easy go web micro framework
https://github.com/gorilla/mux 实现了一个强大的URL router,我觉得最有用的是URL 模式匹配。 比如可以绑定这样的路径模式 "/stockusers/{stockid:[0-9]{7}}/number"。希望dotweb也能集成这样的功能。
关于路由解析问题
如下三个路由: app.HttpServer.GET("/v1/machines/list", ListMachines) app.HttpServer.GET("/v1/machines/:machineId", GetOneMachine) 会提示冲突,但是这种方法用的场景非常多,而且非常简洁,希望能够支持。
使用场景,一组路由不需要进行身份验证时可以通过设置一个匿名访问group,来请求数据,但此组路由前缀不一定统一
新增etcd工具包
辛苦.
web程序经常会遇到一些经常变动的模块,每次修改go代码,编译部署太麻烦了。 希望作者能够增加这个功能,可实现插件/模块化开发。 golua这个包,测试性能不错,接近python3 github.com/yuin/gopher-lua
我说,tls,能不能实现,直接用,certFile, 和,keyFile ,的,内容,不用通过读路径,获取,文件内容
目前Group 只能通过HttpServer创建, 但是在实际使用中,希望直接创建Group, 完成设置后, 在add到Server中, 请考虑这个需求
建议增加以cookie作为存储介质的session
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20190606173856-1492cefac77f to 0.7.0. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/net&package-manager=go_modules&previous-version=0.0.0-20190606173856-1492cefac77f&new-version=0.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...