Commit Graph

269 Commits

Author SHA1 Message Date
John
0a92df691b improve package gpool/gfpool; donator updates 2020-03-14 17:12:44 +08:00
John
99f1d9d0ed improve package gudp 2020-03-11 23:59:43 +08:00
John
707b08c585 improve package gudp 2020-03-11 23:56:58 +08:00
John
f44c19868c improve package gudp 2020-03-11 23:54:35 +08:00
John
c1cce17934 add unit testing cases for gudp 2020-03-11 16:08:17 +08:00
John
5a92d7de0d fix issue in router group registering for controller 2020-03-11 15:51:24 +08:00
fulltimelove
f13a5ad82e 分组路由对象绑定时支持多方法绑定 2020-03-11 10:10:00 +08:00
John
f3bd2b67f7 change attribute Context to context.Context for ghttp.Request 2020-03-10 20:45:22 +08:00
John
4732bf46ad add Context map for internal context workflow parameter exchanges for ghttp.Request 2020-03-08 22:53:20 +08:00
John
5bdf1a71b8 improve uploading file feature for ghttp.Server 2020-03-07 20:20:52 +08:00
John
a34ca0ff4b improve uploading file feature for ghttp.Server; improve package gfile/gstr/gdebug 2020-03-07 19:31:33 +08:00
John
93d0760898 add GetPage function for ghttp.Request 2020-03-06 11:01:03 +08:00
John
7072244420 improve comment for ghttp.Server 2020-03-05 16:08:55 +08:00
John
f68b66e606 update comment for ghttp.Server 2020-03-04 23:32:27 +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
e58d7e8dda add internal log for gi18n; improve unit testing case for ghttp.Server 2020-02-28 23:00:05 +08:00
John
ef2a9f6fd1 fix issue in log paatern for ghttp.Server 2020-02-27 17:09:12 +08:00
John
7acf16fdba add UploadFile feature for ghttp.Server 2020-02-26 01:01:28 +08:00
John
a52b454d3e add UploadFile feature for ghttp.Server 2020-02-26 00:48:27 +08:00
John
42fd583bfd add more inernal logging points for core components 2020-02-24 21:09:19 +08:00
John
d8ef8a1f5d add gf.debug options and GF_DEBUG env control params for internal logging feature 2020-02-22 14:51:44 +08:00
John
f18312419b improve CORS feature for ghttp.Server 2020-02-16 23:18:37 +08:00
John
20b64507b1 improve string conversion for gtime.Time 2020-02-16 22:39:12 +08:00
John
52943b283c go.mod updates; add search path configuration in file for package ghttp.Server 2020-02-16 16:34:30 +08:00
John
5169137069 improve unit testing case for CORS feature for package ghttp 2020-02-16 13:32:06 +08:00
John
1736d271d2 add more unit testing case 2020-02-14 22:13:41 +08:00
John
78917ed5cb comment updates for package ghttp 2020-02-11 10:00:10 +08:00
John
88684ca00a add panic if internal watcher creation fails for gfsnotify; improve codes and change comment from chinese to english for gdb 2020-02-10 20:37:53 +08:00
John
83dcc4a5e0 fix issue for overwriting the route item if allowed 2020-02-08 11:17:09 +08:00
John
ac9be6134b add global schema access support for mssql in gdb 2020-02-07 17:21:05 +08:00
John
4c1b4f7858 change time measuing unit from microtime to millitime for ghttp.Request; change graceful reload feature from true to false in default 2020-02-07 16:29:14 +08:00
John
e8dd3979b6 add more unit testing cases for ghttp/gview 2020-02-06 15:17:10 +08:00
John
374ee4c0ea improve ghttp.Request for making the request body reusable for multiple times 2020-02-06 11:22:36 +08:00
John
95411aff77 improve ghttp.Request for making the request body reusable for multiple times 2020-02-06 11:14:38 +08:00
John
26aab44ec8 fix issue in char '-' support for parameter retrieving for ghttp.Request 2020-01-22 20:28:42 +08:00
John
2e10ce421b improve plugin feature 2020-01-21 22:18:49 +08:00
John
8eda69b11e improve the plugin feature for ghttp.Server 2020-01-21 17:18:03 +08:00
John
202419202f improve logger feautre, add unit testing cases for ghttp.Server; add SetDefaultLogger function for glog 2020-01-21 15:42:08 +08:00
John
01b06e0745 improve ghttp.BuildParams 2020-01-20 20:32:39 +08:00
John
7df53ff55e rename all timestamp function names from *Second to Timestamp* 2020-01-20 14:14:11 +08:00
John
f59a1ada88 improve static service feature, add plugin feature for ghttp.Server 2020-01-17 21:12:52 +08:00
John
b867b2a0bc add return parameter name for function Cas of gtype;improve Response.Redirect* functions by adding optional parameter code 2020-01-16 21:04:28 +08:00
John
872d674182 fix issue in database 'time' type support in package gdb 2020-01-15 21:23:40 +08:00
John
22af5be71f rename parameter name for gipv4.Ip2Long/Long2Ip 2020-01-13 14:50:06 +08:00
John
f662ff8051 add pprof unit testing case for ghttp; reame updates 2020-01-12 22:26:07 +08:00
John
f3a208f02f fix issue in router value retrieving for ghttp.Request 2020-01-08 20:00:42 +08:00
John
9227139cf8 add schema changing feature for gdb 2020-01-07 22:14:32 +08:00
John
f2190e50b2 improve unit testing for gdb 2020-01-06 20:43:59 +08:00
John
c4537b4753 improve ghttp.Client.Get 2020-01-06 17:57:07 +08:00
John
bec9f5a847 add buildin function 'concat' for gview 2020-01-05 19:55:17 +08:00
John
2bacc77224 improve JSON/XML parsing feature for ghttp.Request 2020-01-04 15:35:21 +08:00
John
27b677b0c0 improve Map converting feature for gconv; improve package gproc for local shell searching; improve JSON/XML response for ghttp.Response 2020-01-02 19:45:41 +08:00
John
821c71bd8d improve parameter parsing feature for ghttp.Request 2020-01-01 15:20:03 +08:00
John
604a10400d improve parameter parsing feature for ghttp.Request 2020-01-01 14:57:57 +08:00
John
9219471f67 improve parameter parsing feature for ghttp.Request 2020-01-01 14:26:00 +08:00
John
fe5d2e5685 improve parameter parsing feature for ghttp.Request 2020-01-01 14:18:00 +08:00
John
80c6ceaf26 fix issue 437 2019-12-25 21:22:06 +08:00
John
1d53d760d8 README/DONATOR update; improve ghttp 2019-12-19 15:38:34 +08:00
John
922e720d63 improve gdb/ghttp/gins; fix issue in gstr 2019-12-19 15:14:05 +08:00
John
18892fb66d add iterate example for glist; improve variable name for ghttp.Server 2019-12-18 19:37:07 +08:00
John
5f2be10563 improve gdb/gtime 2019-12-17 21:06:34 +08:00
John
951ce46932 fix data race issue in unit testing cases for gtcp 2019-12-13 18:50:54 +08:00
John
795c7395e6 fix data race issue in unit testing cases for gtcp 2019-12-13 17:40:29 +08:00
John
58a25c6f61 fix data race issue in unit testing of gtcp 2019-12-13 14:26:07 +08:00
John
2d754f80b1 fix data race issue in unit testing of gtcp 2019-12-13 13:43:28 +08:00
John
f4e8fbe767 fix issue in unit testing codes for gtcp 2019-12-13 08:57:39 +08:00
John
458318d374 improve prefix and word quote feature for gdb; merge develop 2019-12-12 23:54:07 +08:00
John
87295ef1fe improve process communication feature for gproc; add more slice converting functions for gconv 2019-12-11 21:22:41 +08:00
John
81d4082b6a fix issue in Retry.Interval type changed for gtcp 2019-12-11 14:54:38 +08:00
John
d7e19bc3f3 improve package feature for gtcp 2019-12-11 14:50:25 +08:00
John
34ef0ea792 add prefix feature for gdb 2019-12-10 21:14:15 +08:00
John
2804834540 rename GetRouterMap to GetRouterArray for ghttp.Server 2019-12-10 12:28:55 +08:00
John
add7dd5a45 merge develop 2019-12-09 23:22:49 +08:00
John
e40894ca45 add IsServiceHandler for ghttp.RouterItem 2019-12-09 23:19:39 +08:00
John
28825f5395 add gdebug.BuildInfo function; improving gproc 2019-12-09 21:53:44 +08:00
John
6ca5141020 some improving 2019-12-08 22:55:32 +08:00
John
f775479c3f fix issue in ghttp.Request.GetRequest* 2019-12-05 10:44:31 +08:00
John
e1d4ba9d23 add GetError function for ghttp.Request 2019-12-04 19:50:49 +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
6af90cafee rename ghttp.Domain.AddBindMiddleware to BindMiddlewareDefault for ghttp 2019-12-02 23:05:05 +08:00
John
2e2363bb41 change routergroup parameter name 'g' to 'group' for unit testing cases of ghttp 2019-12-02 23:00:48 +08:00
John
108ced2b0b improve route priority handling for ghttp.Server 2019-12-02 21:26:12 +08:00
John
40570cdb03 change logger configuration name from 'logging' to 'logger' in gins 2019-12-02 19:55:45 +08:00
John
10451864e6 improve parameter handling for ghttp.Requset 2019-12-01 21:41:29 +08:00
John
55e2646367 comment update for ghttp.Server 2019-12-01 21:05:46 +08:00
John
c88839edb1 comment update for ghttp.ServerConfig 2019-12-01 14:24:56 +08:00
John
2a2cfc289c improve ghttp.Client 2019-12-01 14:07:36 +08:00
John
8bbeb186c2 add Exit feature for ghttp.Response 2019-11-30 20:41:53 +08:00
John
a5407e57d9 comment update for ghttp.Client 2019-11-30 10:24:19 +08:00
John
5c749e7762 improve parameters handling for ghttp.Request 2019-11-30 09:42:07 +08:00
John
b3fafc64f8 improve parameter handling for ghttp.Request 2019-11-29 22:02:19 +08:00
John
0cce858641 improve configuration feature for ghttp.Server/gview/glog 2019-11-28 23:19:37 +08:00
John
7e43aa6b9d improve parameter parsing for ghtto.Request; add configuration feature for gview 2019-11-28 11:18:09 +08:00
John
f4654bf446 fix comment issue in example codes for gmap 2019-11-27 23:19:07 +08:00
John
94ed0bf9c9 fix issue in ghttp.Request.GetView 2019-11-26 15:12:58 +08:00
John
22e3705d3e improve ghttp.GracefulServer; add more unit test case for ghttp.Server.Middleware 2019-11-26 14:56:05 +08:00
John
382356bc8d improve gerror for stack information; fix issue in gconv.String for nil *time.Time type 2019-11-21 21:49:00 +08:00