Commit Graph

44 Commits

Author SHA1 Message Date
John Guo
25c091df7f improve package ghttp 2022-05-06 20:25:21 +08:00
houseme
8357b0f649 improve comment 2022-03-19 17:58:21 +08:00
John Guo
6f5058c9b6 add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
John Guo
073869b354 downgrade otel version from v1.3.0 to v1.0.0 2022-02-17 15:47:08 +08:00
John Guo
04eb654133 add error stack for internal error printing 2022-01-28 14:51:49 +08:00
John Guo
3bbbe1db9c change pointer receiver that implements interface MarshalJSON to struct receiver for all packages 2022-01-19 16:55:57 +08:00
John Guo
ce93b625d4 change errors wrapped by gerror.Wrap with error stack info for all packages 2021-12-21 22:59:14 +08:00
John Guo
b9d6ac26d1 rename cache function from func() (interface{}, error) to func(ctx context.Context) (value interface{}, err error) for package gcache; add cache for function Tables of gdb.Core; improve Where condition with prefix handling for package gdb 2021-12-17 11:46:05 +08:00
houseme
be03b3cdda Improved import, by group improt. 2021-11-13 23:23:55 +08:00
John Guo
1bc0635f8b version 2 2021-10-11 21:41:56 +08:00
John Guo
82d04d612b fix openapi specification generating; improve handler type 2021-10-06 14:22:58 +08:00
John Guo
c99c13acd1 refract pacakge gcfg, adding adapter interface for pacakge gcfg 2021-09-19 10:01:09 +08:00
John Guo
28f70d52ee add context parameter for all functions of package gcache 2021-09-17 10:48:08 +08:00
John Guo
1455e30350 change returned value by Get* and Update/Remove functions from type interface{} to *gvar.Var for package gcache 2021-09-16 22:13:00 +08:00
John Guo
abc8e62d58 add package gcode and improve error implements for package gerror 2021-08-24 21:18:59 +08:00
John Guo
cd3593182a improve package gerror/ghttp for error code handling 2021-08-07 10:44:57 +08:00
John Guo
f72d991c36 rename attribute names from lower-camel case to upper-camel case 2021-07-19 20:06:44 +08:00
John Guo
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
jflyfox
a2e7aec37f change constant variable names 2020-12-14 13:26:48 +08:00
John
d56eb49e41 improve performance for gconv.Struct/Structs using directly reflect set 2020-11-15 15:13:40 +08:00
John
849874a247 improve adapter definition for package gcache 2020-10-09 20:59:49 +08:00
john
91cd34b26a improve multiple seperator chars handling for router of ghttp.Server 2020-07-29 00:32:54 +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
7072244420 improve comment for ghttp.Server 2020-03-05 16:08:55 +08:00
John
4e7c6c1fb4 improve CORS feature for ghttp.Server 2020-03-04 22:52:56 +08:00
John
d8a7e36478 improve router feature for ghttp.Server 2020-03-04 17:29:23 +08:00
John
34ef0ea792 add prefix feature for gdb 2019-12-10 21:14:15 +08:00
John
6abe660287 export router map api for ghttp.Server; comment update for ghttp.Server 2019-12-04 13:55:08 +08:00
John
a06ca31530 improve middleware feature for ghttp.Server 2019-12-04 10:03:03 +08:00
John
890865251b improve routerMap handling for ghttp.Request 2019-12-03 17:16:52 +08:00
John
c88839edb1 comment update for ghttp.ServerConfig 2019-12-01 14:24:56 +08:00
John
6f9bbbf416 add debug info for ghttp.Server 2019-10-29 20:15:13 +08:00
John
0dde8c735e add debug info for ghttp.Server 2019-10-29 19:59:24 +08:00
John
91c98bbb60 fix issue in group router feature for domain 2019-10-24 19:44:30 +08:00
John
e764b2393d change params order of Insert* functions for glist; improve gstr.IsNumber 2019-10-01 16:35:44 +08:00
John
b830f9b96d improve ghttp.Server.Request for parameter retrieving; add Option feature for gdb; update example for hook feature of ghttp.Server 2019-09-29 14:27:09 +08:00
John
7d32be3b6c improve perameter parsing for ghttp.Server 2019-09-18 23:20:45 +08:00
John
cd00ac446b improve CORS feature for ghttp.Server 2019-09-03 17:18:16 +08:00
John
77d9e472b7 add middleware feature for ghttp.Server; improve router group feature for ghttp.Server 2019-08-06 20:40:04 +08:00
John
2911ebb5d7 add middleware feature for ghttp.Server 2019-08-03 23:57:20 +08:00
John
f4d01f56c6 add middleware feature for ghttp.Server 2019-08-03 18:08:10 +08:00
John
878305fee3 add middleware feature for ghttp.Server 2019-08-03 17:14:54 +08:00
John
0460a53f53 add middleware feature for ghttp.Server 2019-08-03 15:54:12 +08:00
John
b01add2925 update project structure 2019-07-29 21:01:19 +08:00