Commit Graph

101 Commits

Author SHA1 Message Date
John
97df154b78 gofmt 2019-06-19 09:06:52 +08:00
John
d1f0fa1a47 fix issue in concurrent safety for gview.Parse; rename glog.*fln functions to glog.*f 2019-06-05 20:22:57 +08:00
John
7cc0c7a1cc rename map type of gmap; rename BatchSet/BatchRemove to Sets/Removes for gmap/gcache 2019-05-08 17:21:18 +08:00
John
34cb222b33 remove temprary function map parameter for gview when parsing template file and content 2019-04-25 22:14:20 +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
6a58bfc574 add stdout printing support for ghttp.Server logging 2019-03-28 09:34:16 +08:00
John
64124c60fc add fatal error when no router set or statis feature enabled for ghttp.Server 2019-03-27 16:23:35 +08:00
John
83db8e4b15 add wss example for websocket 2019-03-22 17:26:39 +08:00
John
80e0eae6b0 add TLSConfig support for ghttp.Server 2019-03-19 17:48:37 +08:00
John
4e3d735b90 add logging for gcron 2019-03-19 13:58:18 +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
6aa1c5b1eb ghttp updates 2019-02-20 16:07:11 +08:00
John
76c49170bd change gitee.com/johng/gf -> github.com/gogf/gf 2019-02-02 16:18:25 +08:00
John
7b85c44444 add Clone for garray; comments of garray update 2019-02-01 22:00:58 +08:00
John
ba050d4c86 merge qiangg_reuseport 2019-02-01 20:51:02 +08:00
John
6c6c64bb3b rename category string to text 2019-02-01 20:45:11 +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
09be68831b reuseport updates 2019-01-27 14:25:31 +08:00
John
0ac13c2b81 reuseport updates 2019-01-27 14:14:59 +08:00
John
14fcd0b2f9 move gtime.SetTimeout&gtime.SetInterval to gtimer 2019-01-16 23:23:53 +08:00
John
a4ad301b44 fulfil logics of Exit* funcs of ghttp 2019-01-16 20:27:58 +08:00
John
018853e976 optimize WebServer in hook priority handler and request exit mechanism 2019-01-13 00:43:36 +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
a86f4f8e23 disable auto adding temp directory to gview/gcfg search path; disable backtrace feature in normal log print with glog; fix issue caused by fmt.Fprintf in gfsnotify 2018-12-18 20:03:23 +08:00
John
7434dfe6fa done refacting gdb package 2018-12-16 22:22:07 +08:00
John
670993f769 remove auto-adding main package path to search path of WebServer in develop environment 2018-12-11 19:30:38 +08:00
John
b7a6d257d5 Fix binary decoding issue of gbinary package. 2018-12-08 18:18:05 +08:00
John
b19e47783b ghttp增加静态文件目录映射功能;改进gspath目录管理功能;改进gconv的slice转换功能,并增加gconv.Map方法 2018-11-30 09:48:57 +08:00
John
aee266eea0 WebServer改进 2018-11-28 20:19:28 +08:00
John
b3353afe3c WebServer添加RouterCacheExpire配置参数 2018-11-24 11:55:57 +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
fe753b0bc8 当前工作目录为系统临时目录时,gcfg/gview/ghttp模块默认不添加工作目录到搜索路径 2018-11-18 19:37:42 +08:00
John
6addd64cf0 glog模块日志前缀输出改进 2018-11-17 22:12:41 +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
61bc9dbd92 改进ghttp.Request.Exit,使得调用该方法时立即退出业务执行,开发者无需调用Exit方法时再使用return返回;glog模块增加To链式操作方法,执行下一次写入的writer 2018-11-06 18:53:25 +08:00
john
c229573778 修改配置管理、模板引擎、调试模式的环境变量名称为大写下划线标准格式 2018-11-01 09:46:35 +08:00
John
ee1df4d0e5 服务注册时增加方法定义判断;模板引擎增加strlimit/hidestr/highlight/toupper/tolower/nl2br内置模板函数 2018-10-31 22:39:58 +08:00
John
2d23a18810 框架一些模块的细节改进 2018-10-30 23:58:10 +08:00
john
c4ef89eda3 改进gfile在开发环境下的main包绝对路径获取方式;ghttp.Request增加idFileServe属性 2018-10-29 13:59:06 +08:00
john
7fbbf09b0e 新增go modules支持,自行管理第三方包依赖,方便开发者使用 2018-10-22 11:13:00 +08:00
john
18c1d84ff5 完成Web Server路由表打印/获取特性 2018-10-18 13:43:00 +08:00
john
4ba6762632 Web Server路由注册项打印特性 2018-10-17 16:56:50 +08:00
john
946e3a9e0d Web Server增加启动时的路由展示特性,开发中 2018-10-17 10:09:42 +08:00