Commit Graph

54 Commits

Author SHA1 Message Date
John Guo
0ddacdd7e2 add error code for components 2021-07-20 23:02:02 +08:00
John Guo
d109706ad3 unify error package to gerror 2021-06-26 18:34:26 +08:00
John Guo
50ffaef33f add context for intlog/gsession;improve struct/structs converting for package gconv 2021-06-26 16:23:54 +08:00
John Guo
7003c284d0 replace json.Unmarshal with json.UnmarshalUseNumber for packages 2021-05-15 22:38:07 +08:00
John Guo
ac4485dc84 comment update for package gsession 2021-04-02 18:00:50 +08:00
John Guo
6376b8aaa6 remove session storage file removing feature for package gsession 2021-03-11 21:21:47 +08:00
John Guo
58362ad143 add grand.D for random time.Duration;add checking and removing session files for package gsession 2021-03-11 20:05:08 +08:00
John Guo
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
John Guo
aefa54f04b improve package gredis 2021-01-16 20:37:59 +08:00
jflyfox
b12c909fd6 add logging level configuration for package ghttp 2021-01-06 01:00:49 +08:00
John Guo
4991e14dff improve error message when failed in Mkdir 2021-01-03 12:05:04 +08:00
jflyfox
7fa09596b0 improve package gsession 2020-12-09 16:22:03 +08:00
John Guo
60ec59fa4a improve package gsession 2020-12-07 20:39:52 +08:00
John
9f04e46166 mark gconv.StructDeep/StructsDeep deprecated 2020-11-05 23:02:29 +08:00
John
9044d5f05d fix issue in custom session id lost for ghttp.Request 2020-10-13 20:34:31 +08:00
John
849874a247 improve adapter definition for package gcache 2020-10-09 20:59:49 +08:00
John
46bdde9265 revert gvar.Var from interface to struct 2020-06-29 13:40:19 +08:00
John
f28a76d470 merge develop 2020-06-17 23:59:20 +08:00
John
b2aa59d893 import third-party library json-iterator to improve the performance for json operations 2020-06-17 21:16:25 +08:00
John
897a9f4584 Merge branch 'develop' 2020-06-16 20:42:26 +08:00
John
4d38b508a3 improve gvar by changig gvar.Var from type struct to interface 2020-06-16 17:38:05 +08:00
fangxiaokai
f6d760e90f 1、修复redis存储session时,最大过期时间问题: ttl.Seconds()返回float64在redis中报错 2020-06-16 11:19:08 +08:00
John
269378aa0d fix issue in unit testing case for package gsession; version updates 2020-05-28 20:28:07 +08:00
john
45a94d23d5 improve session feature by allowing custom session id creating function for ghttp.Server 2020-05-17 14:33:21 +08:00
john
3559436d1e improve package guid 2020-05-17 08:50:37 +08:00
john
189f4c1637 improve package gsession 2020-05-16 22:08:16 +08:00
John
4c610b4f58 improve session storage file for ghttp.Server 2020-03-28 20:02:57 +08:00
John
ddcb7121c1 improve temporary path producing from gfile.Join to gfile.TempDir 2020-03-28 00:41:12 +08:00
John
bfa64705b5 update comment for package gsession 2020-03-22 00:15:59 +08:00
John
c0a0913d4b add more unit testing case for template feature of ghttp.Server 2020-03-21 13:45:33 +08:00
John
07e65c14a9 improve unit testing cases 2020-03-19 23:53:03 +08:00
John
0b6d04485e improve unit testing cases 2020-03-19 22:56:12 +08:00
John
34e7c5f809 rename grand.Str to grand.S; add different function Str for grand 2020-02-21 00:01:27 +08:00
John
89f869dd44 remove internal logging for gsession.StorageFile; improve example codes for CORS feature of ghttp.Server 2020-02-16 23:00:42 +08:00
chikaku
d9f4e6eaa6 remove redundant code in gsession 2020-01-21 14:55:08 +08:00
John
7df53ff55e rename all timestamp function names from *Second to Timestamp* 2020-01-20 14:14:11 +08:00
John
922e720d63 improve gdb/ghttp/gins; fix issue in gstr 2019-12-19 15:14:05 +08:00
John
34ef0ea792 add prefix feature for gdb 2019-12-10 21:14:15 +08:00
John
6c54e73dbd add example for memory storage og gsession 2019-11-05 17:33:06 +08:00
John
e30b2b0732 improve gsession/gmap/gtree 2019-11-04 21:26:16 +08:00
John
7225e49aa0 add package intlog for GF internal logging usage; improve redis storage feature for gsession 2019-10-29 16:45:42 +08:00
John
14e9deb254 add more unit test cases for gsession 2019-10-29 10:01:05 +08:00
John
a0722ed51f add redis session support for gsession 2019-10-28 20:48:52 +08:00
John
056d6ebbd9 improve interface design for gsession.Storage 2019-10-28 16:07:01 +08:00
John
cf34d7bd56 fix issue in gconv.Interfaces; improve storage interface for gsession 2019-10-25 13:49:03 +08:00
John
97fe8235da fix issue in session expiring for file storage of gsession; add Pop/Pops functions for gset/gmap 2019-10-16 23:33:06 +08:00
John
3218c89f17 improve gfile/gstr/ghttp 2019-09-23 16:21:19 +08:00
john
1665d92136 improve session expire algorithm for gsession 2019-09-15 12:17:44 +08:00
john
f128cb9f61 improve session storage interface for gsession 2019-09-15 11:30:38 +08:00
John
141bee9c49 add ConfigByMap function for ghttp.Server; improve gsession for file storage 2019-09-13 20:49:16 +08:00