Commit Graph

133 Commits

Author SHA1 Message Date
John
c4c7e6caf4 gofmt 2019-04-03 00:03:46 +08:00
John
07476a4349 add instance management feature for gdb/gredis; add customized configuration content management feature for gcfg; update gjson for data content type check 2019-04-02 14:37:46 +08:00
John
f258b5bf1c change logging level from error to debug in route regitsry for struct for ghttp package; handle possible overrange usage of r.URL.Path in ghttp.Server 2019-03-31 20:52:30 +08:00
John
83db8e4b15 add wss example for websocket 2019-03-22 17:26:39 +08:00
John
9bc49c0b29 add logging for error in ghttp.Request 2019-03-22 14:31:02 +08:00
John
11c89c4090 fix issue in GetOrSetFuncLock of gmap/gcache; add gutil.IsEmpty/Export functions 2019-03-21 18:20:20 +08:00
John
80e0eae6b0 add TLSConfig support for ghttp.Server 2019-03-19 17:48:37 +08:00
John
83be1de04c remove error returns from router registry functions of WebServer; add more unit test cases for WebServer 2019-03-06 15:21:00 +08:00
John
975da97b4a fix issue in empty check for nil attribute of struct in package 'empty';add set-cookie support for 302 status in ghttp.Server 2019-03-05 17:06:37 +08:00
John
f92c1fc527 update CORS feature of ghttp.Response; add more unit cases for ghttp.Server 2019-03-01 23:45:55 +08:00
John
66287c2d0e update the admin feature and unit test cases of ghttp 2019-02-28 23:57:20 +08:00
John
fa256aec9f add example for layout using template engine; fix issue with config error output in gview when no config used 2019-02-27 22:53:39 +08:00
John
6f02ad60eb hot fix issue in tpl auto update 2019-02-14 13:38:52 +08:00
John
76c49170bd change gitee.com/johng/gf -> github.com/gogf/gf 2019-02-02 16:18:25 +08:00
John
ba050d4c86 merge qiangg_reuseport 2019-02-01 20:51:02 +08:00
John
85677b952f fulfil funcs of gstr/gset/garray; move gstr/gregex to the string category; move gtest to the test category 2019-01-30 21:27:03 +08:00
John
0ac13c2b81 reuseport updates 2019-01-27 14:14:59 +08:00
John
94ef38e3cc reuseport updates 2019-01-27 03:28:55 +08:00
John
76882ac01c update golang.org/x/sys, add reuseport package 2019-01-27 03:13:20 +08:00
John
018853e976 optimize WebServer in hook priority handler and request exit mechanism 2019-01-13 00:43:36 +08:00
John
2cff10e0d2 fix issue in controller interface definition 2018-12-26 10:17:24 +08:00
John
2063f662d3 fix silly issue in binary search of garray package, and add unit-test file for garray 2018-12-20 21:55:05 +08:00
John
d7381399aa fix issue of grand.intn in x86 arch; add router group feature for WebServer 2018-12-20 21:04:43 +08:00
John
b19e47783b ghttp增加静态文件目录映射功能;改进gspath目录管理功能;改进gconv的slice转换功能,并增加gconv.Map方法 2018-11-30 09:48:57 +08:00
John
8304769953 代码修正 2018-11-27 20:37:57 +08:00
John
914a74bca9 完善代码示例 2018-11-26 09:33:45 +08:00
John
5e7e1077a1 性能改进 2018-11-23 09:20:45 +08:00
John
64a22acf84 WebServer允许同一HOOK事件被多次绑定注册,先注册的回调函数优先级更高 2018-11-19 23:13:12 +08:00
John
4e5877923d dev 2018-11-19 21:49:43 +08:00
John
9e1ad46c90 改进ghttp.Request,增加SetParam/GetParam请求流程自定义变量方法;gvar模块增加VarRead只读接口 2018-11-19 21:11:43 +08:00
John
f1b93204ac 改进WebSocket默认支持跨域请求;修复gspath模块Search时带有indexFiles的检索问题 2018-11-17 19:45:15 +08:00
John
c89482c3d6 WebServer性能细节改进 2018-11-17 11:17:02 +08:00
John
b190ee9fe6 初步完成第一阶段的性能改进 2018-11-17 02:39:23 +08:00
John
e8101cb02f 性能改进中 2018-11-16 18:20:09 +08:00
John
72a18c0a10 glog增加文件指针池使用 2018-11-11 14:21:22 +08:00
John
9c4b454dbe Merge branch 'develop' of https://gitee.com/johng/gf into develop 2018-11-11 13:55:37 +08:00
John
b303bf12b5 增加ghttp下载文件示例 2018-11-11 13:55:32 +08:00
John
882c69cb08 改进gfsnotify,支持编辑器对文件非标准编辑时(RENAME+CHMOD)的热更新问题 2018-11-11 11:26:03 +08:00
John
6ff44ad123 增加HTTP下载文件示例程序 2018-11-10 16:18:50 +08:00
John
0d5d357857 添加模板测试代码 2018-11-09 17:48:57 +08:00
john
871b7b87d0 ghttp.Request.Exit示例代码更新 2018-11-06 19:02:11 +08:00
john
61bc9dbd92 改进ghttp.Request.Exit,使得调用该方法时立即退出业务执行,开发者无需调用Exit方法时再使用return返回;glog模块增加To链式操作方法,执行下一次写入的writer 2018-11-06 18:53:25 +08:00
John
ee1df4d0e5 服务注册时增加方法定义判断;模板引擎增加strlimit/hidestr/highlight/toupper/tolower/nl2br内置模板函数 2018-10-31 22:39:58 +08:00
john
9bb1125169 增加go modules支持 2018-10-19 17:21:30 +08:00
john
a4903f2a6b ghttp.Server完善重启及停止的终端提示信息 2018-09-11 10:32:16 +08:00
john
12bee26d5a 增加模板引擎内置变量使用示例 2018-09-05 13:33:46 +08:00
john
a0b5ecc33e up 2018-09-05 13:20:52 +08:00
John
34e86b839d 修复ghttp.Server在windows下的重启失效问题;去掉gfile.IsExecutable方法 2018-08-27 22:14:06 +08:00
john
0af28470aa *any/:name路由匹配路由改进支持不带名字的*/:路由规则 2018-08-24 18:33:28 +08:00
john
6c4cf446a0 ghttp.Request增加服务端BasicAuth功能 2018-08-24 18:23:26 +08:00