Commit Graph

140 Commits

Author SHA1 Message Date
John
b02205f7cd gpool updates 2019-01-23 17:27:30 +08:00
John
9698a7c5be gpool updates 2019-01-23 15:01:21 +08:00
John
494f96495e fulfil unit test cases of gtimer 2019-01-23 11:28:57 +08:00
John
24990e26c8 gcron, gtimer updates 2019-01-21 22:09:51 +08:00
John
72569321fa package comments update 2019-01-16 13:35:16 +08:00
John
0c41909454 pakage comments updates 2019-01-15 23:27:47 +08:00
John
f4644ce685 change func(xxx, safe...bool) to func(xxx, unsafe...bool); add new internal package mutex 2019-01-12 23:36:22 +08:00
John
432c16c89f complete pckage gtimer development, a levelled timing wheel for interval/delayed jobs running and management 2019-01-12 22:41:12 +08:00
John
241706cbbf up 2019-01-12 20:20:30 +08:00
John
33dd0f9922 timing wheel up 2019-01-11 13:46:40 +08:00
John
1c9cb8286f up 2019-01-09 12:54:37 +08:00
John
8296061b64 up 2019-01-06 16:43:42 +08:00
John
bb5d84c29c up 2019-01-06 11:09:50 +08:00
John
40b5162fdf up 2019-01-04 15:32:16 +08:00
John
858b010caa up 2019-01-03 19:11:54 +08:00
John
a95b1f0dae add more unit test cases 2019-01-02 10:18:00 +08:00
John
f1c7b95b33 up 2019-01-01 19:43:31 +08:00
John
1efeb2515d refract package 'gcron'; add package 'gtimew' for Time Wheel style job management 2018-12-30 18:56:21 +08:00
John
ccf837b2bf up 2018-12-30 14:53:16 +08:00
John
e558863743 up 2018-12-30 11:08:07 +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
7434dfe6fa done refacting gdb package 2018-12-16 22:22:07 +08:00
John
60a571f291 Fix issue: add mutex lock for method Remove of garray. 2018-12-11 09:56:58 +08:00
John
51e70be04d Add rewrite feature to WebServer; Add Unique for un sorted array of garray; Fix map conversion issue of gjson. 2018-12-10 20:24:20 +08:00
John
d23cdcbe57 改进gcache,完善功能及基准测试;改进gconv.Map对struct转换时默认使用json tag作为键名 2018-12-04 19:26:46 +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
b965dbff70 gvar调用端改进,去掉不必要的并发安全参数;错误提示细节改进 2018-11-25 22:18:36 +08:00
John
5e7e1077a1 性能改进 2018-11-23 09:20:45 +08:00
John
9e1ad46c90 改进ghttp.Request,增加SetParam/GetParam请求流程自定义变量方法;gvar模块增加VarRead只读接口 2018-11-19 21:11:43 +08:00
John
10c3f6d85a 完善程序细节和测试 2018-11-18 22:22:44 +08:00
John
e8101cb02f 性能改进中 2018-11-16 18:20:09 +08:00
john
a9f03fe9cb 改进gfpool文件指针池,增加对文件mv/rm后的指针池重建;改进gtime,增加对时间字符串更多的默认时间格式支持,新增gtime.ParseTimeFromContent方法 2018-11-01 17:22:55 +08:00
john
f3f7398ed8 gfpool改进中 2018-10-31 19:00:28 +08:00
john
8fe7ede3b9 完善garray接口定义 2018-10-30 18:52:47 +08:00
john
0d7130ee48 gvar.Set方法返回旧的变量值 2018-10-25 12:10:05 +08:00
john
e0c93a9429 改进gtype.Set方法,增加Set原子操作返回旧的变量值;改进gcron,增加自定义的Cron管理对象,增加New/Start/Stop方法;TODO++ 2018-10-25 10:08:08 +08:00
john
c5a03fca83 新增gcron定时任务包 2018-10-22 16:53:43 +08:00
john
5997803f8d 改进garray排序数组 2018-10-16 18:12:50 +08:00
John
5204193c58 改进gdb,增加数据库操作自动Close特性(使用链接池),用户无需再defer db.Close(),并增加g.DB数据库对象单例别名 2018-10-13 20:29:27 +08:00
john
029bbd2ded 完善glog示例程序文件 2018-10-10 15:24:30 +08:00
john
f0c4068448 完成gvar包的开发,并改进相关依赖包 2018-10-09 13:33:00 +08:00
john
845b954d0e gconv增加Ints/Floats/Interfaces转换方法,完善gconv.Struct方法封装,改进相关依赖包对gconv的引用 2018-10-09 10:05:55 +08:00
john
ddd1e71c4f merge master 2018-10-08 09:44:53 +08:00
john
16dd4a92c1 去掉garray排序数组的length属性 2018-09-30 16:49:34 +08:00
john
0be5cd590b 修复garray排序数组Add可变参数问题 2018-09-30 16:32:12 +08:00
john
bd0df135c8 修复garray排序数组Add变参时的死锁问题 2018-09-30 15:44:48 +08:00
john
a68ee95575 改进gconv对象转换方法,名称修改gconv.MapToStruct -> gconv.Struct 2018-09-28 09:58:01 +08:00
john
80ffcc2470 增加gvar包,并改进默认的g包 2018-09-26 09:58:49 +08:00
john
19f9b127bc 改进gmap,并完善基准测试 2018-09-20 09:28:45 +08:00