Commit Graph

322 Commits

Author SHA1 Message Date
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
john
1deb3510f0 improve gerror, ghttp for error stack logging; improve custom view feature for ghttp.Request 2019-11-20 18:45:09 +08:00
john
ad540f7c25 update travis for adding mysql password; add custom view feature for ghttp.Response 2019-11-20 12:09:26 +08:00
John
43531c2680 improve glog for debug configuration; add GetInt*/GetUint* functions for ghttp.Request 2019-11-19 17:26:06 +08:00
John
635f5d36fd improve log feature of ghttp.Server; remove trace for Notice/Warning functions for glog 2019-11-15 22:50:31 +08:00
John
1becc4932c add more functions for gtcp; remove default domain set for cookie feature of ghttp.Server 2019-11-14 15:41:28 +08:00
John
8f2c62d444 improve logging feature for ghttp.Server 2019-11-08 19:52:49 +08:00
John
21efde1a38 fix issue in session feature of ghttp.Server 2019-11-08 09:06:01 +08:00
John
d8b6466ed0 fix issue in ghttp.Server 2019-11-07 21:02:24 +08:00
John
9da1277b47 improve session of file storage for ghttp.Server 2019-11-07 20:42:13 +08:00
John
a3fd0c9a4a improve session of file storage for ghttp.Server 2019-11-07 20:36:33 +08:00
John
ad7375b44b improve configuration feature for ghttp.Server 2019-11-07 16:40:34 +08:00
John
05120b585d improve configuration feature for glog/ghttp.Server 2019-11-07 11:32:25 +08:00
John
9e32d74c8c improve ConfigFromMap function for ghttp.Server 2019-11-06 20:23:41 +08:00
John
c492de4fa8 improve multipart form parsing for ghttp.Server 2019-11-06 15:37:29 +08:00
John
6308380541 update example for uploading files feature for ghttp.Server 2019-11-06 10:39:59 +08:00
John
2609db1aec improve file uploading feature for ghttp.Server 2019-11-05 19:47:35 +08:00
John
e30b2b0732 improve gsession/gmap/gtree 2019-11-04 21:26:16 +08:00
John
9416cd1274 add CopyMap function for gutil; improve ghttp.Request 2019-10-30 23:26:57 +08:00
John
8b5ab846b2 improve unit test case for gmutex 2019-10-30 23:01:24 +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
7225e49aa0 add package intlog for GF internal logging usage; improve redis storage feature for gsession 2019-10-29 16:45:42 +08:00
John
4791d10761 fix issue in hijack error for websocket of ghttp.Server 2019-10-28 17:01:08 +08:00
John
bc7b5c8626 fix issue in status checks for static file serving 2019-10-25 17:04:17 +08:00
John
f2b45622d6 add debug for domain group testing 2019-10-25 16:57:54 +08:00
John
77cb219057 enable route map printing for domain group testing 2019-10-25 16:44:54 +08:00
John
cf34d7bd56 fix issue in gconv.Interfaces; improve storage interface for gsession 2019-10-25 13:49:03 +08:00
John
28326606f5 fix issue in resource file handler for ghttp.Server 2019-10-24 20:22:37 +08:00
John
91c98bbb60 fix issue in group router feature for domain 2019-10-24 19:44:30 +08:00
John
500efb5601 fix issue in template for ghttp.Server 2019-10-17 20:31:03 +08:00
John
e1164e935b improve configuration for gdb; add more unit test case for ghttp.Server 2019-10-15 21:20:38 +08:00
John
2804183325 fix issue in content-type response for ghttp.Server 2019-10-14 13:46:16 +08:00
John
1736e71e6b add debug for unit test case of 2019-10-13 22:40:23 +08:00
John
76a9f4ca14 fix security issue in static file feature for ghttp.Server 2019-10-12 23:56:03 +08:00
John
c4e5679d5c fix issue in missing passing MaxIdle/MaxActive configuration to underlying redis pool for gredis; add extra output for unit test cases of ghttp.Server 2019-10-11 23:33:21 +08:00
John
5092d8e6c5 improve status handling and add error logger for ghttp.Server; fix issue in defer error warpping for some packages 2019-10-11 22:54:25 +08:00
John
74d625ff97 add Get*Int32/Get*Int64/Get*Uint32/Get*Uint64 functions for ghttp.Request 2019-10-10 10:40:38 +08:00
John
f1119e28e8 add Get*Int32/Get*Int64/Get*Uint32/Get*Uint64 functions for ghttp.Request 2019-10-10 10:33:14 +08:00
John
1dcc7a4887 improve http status handling for middleware of ghttp.Server 2019-10-09 15:26:50 +08:00
John
41e9d35487 improve middleware feature for ghttp.Server; fix issue memory usage in big file downloading 2019-10-09 00:33:58 +08:00
John
e764b2393d change params order of Insert* functions for glist; improve gstr.IsNumber 2019-10-01 16:35:44 +08:00
John
eba97277b2 add more unit test cases for ghttp 2019-10-01 09:33:26 +08:00
John
4e19fbc5fb add separate put/delete functions for ghttp.Request 2019-10-01 09:06:35 +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
c85162a8a0 improving gdb.Model/gmap 2019-09-26 20:01:48 +08:00
John
ef4e128af7 fix issue in cors 2019-09-26 15:54:13 +08:00
John
cb7c3a9fa4 fix issue in index folder feature for ghttp.Server 2019-09-25 10:56:44 +08:00
John
6d4da529ee add websocket unit test case for ghttp 2019-09-24 21:08:28 +08:00
John
6c7e536eeb fix issue in gbase64/ghttp 2019-09-24 20:39:00 +08:00
John
36c2648be8 improve ghttp.Response; move gflock to new repo 2019-09-24 20:19:18 +08:00
John
a8caf4ad21 RELEASE updates 2019-09-23 22:00:04 +08:00
John
51d9fe5253 add AllowDomain option for ghttp.CORS; add IsSubDomain function for gstr; improve grand.Intn 2019-09-23 19:25:03 +08:00
John
3218c89f17 improve gfile/gstr/ghttp 2019-09-23 16:21:19 +08:00
John
02e467fb57 rename MapStruct* functions to MapToMap* for gconv and according packags 2019-09-19 23:23:41 +08:00
John
1181ab499c improve error handling in hook feature for ghttp.Server 2019-09-19 20:25:01 +08:00
John
5424935fd9 rename AddMiddleware to BindMiddleWareDefault for ghttp.Server; add more unit test cases fpr gstr 2019-09-19 20:19:07 +08:00
John
b9fbfb91bd improve middleware feature of ghttp.Server; add MapStrAny function for gmap/gtree 2019-09-19 19:44:46 +08:00
John
62f66b4fec remove unnecessary stack trace of gf for stack printing 2019-09-19 13:13:39 +08:00
John
eef9da9a41 improve parameters parsing for ghttp.Server 2019-09-19 09:09:12 +08:00
John
7d32be3b6c improve perameter parsing for ghttp.Server 2019-09-18 23:20:45 +08:00
John
33fbedffb8 gix issue in Config variable for ghttp.Response.View 2019-09-16 15:49:31 +08:00
John
e1721cb1b6 add package gmode for release mode management 2019-09-16 11:08:41 +08:00
John
1d264a6545 add package gmode for release mode management; add error returning for template rendoring for gmvc.View/ghttp.Response 2019-09-16 10:44:07 +08:00
john
1665d92136 improve session expire algorithm for gsession 2019-09-15 12:17:44 +08:00
John
953ea55899 improve status handling for response of ghttp.Server 2019-09-14 22:57:57 +08:00
John
966c93af00 improve middleware and error logging for ghttp.Server 2019-09-14 22:53:28 +08:00
john
19a856549a improve codes details 2019-09-13 22:08:18 +08:00
John
141bee9c49 add ConfigByMap function for ghttp.Server; improve gsession for file storage 2019-09-13 20:49:16 +08:00
John
aa44c0fb11 improve session for ghttp.Server; improve i18n for gview 2019-09-12 00:00:59 +08:00
John
006054d13a fix issue in session for ghttp.Server 2019-09-11 22:57:29 +08:00
John
b39d653fe9 add package gsession; mv gkvdb to new repo 2019-09-11 21:19:45 +08:00
John
7f943c6b5f improving gview with i18n 2019-09-09 22:56:54 +08:00
John
0d5dfe59b9 remove deprecated functions 2019-09-06 16:44:40 +08:00
John
8f953dabe5 fix issue in ghttp.Session.GetMap* 2019-09-05 23:48:54 +08:00
John
6cf4bf81e5 improve gcmd with arguments parser 2019-09-05 11:38:36 +08:00
John
ad43989944 improve procedure of ghttp.Server 2019-09-04 20:22:31 +08:00
John
425d45e502 improve error text for session saving error 2019-09-04 20:04:04 +08:00
John
9ddb148fcb fix issue in memory usage of gkvdb in unit test cases of ghttp 2019-09-04 19:44:13 +08:00
John
e4d34abd7e fix unit test cases for ghttp/gres 2019-09-04 19:23:19 +08:00
John
16103c43eb fix unit test cases for ghttp/gres 2019-09-04 19:10:15 +08:00
John
cd00ac446b improve CORS feature for ghttp.Server 2019-09-03 17:18:16 +08:00
john
7e9fe8ea98 improve resource feature in ghttp.Server 2019-09-01 22:22:08 +08:00
john
6ccc4d119f improve export data as hex for gres 2019-09-01 21:34:15 +08:00
John
ee89a06b3e improve model feature 2019-08-30 20:29:12 +08:00
John
a31108e753 fix issue in gring/ghttp 2019-08-26 23:51:01 +08:00
John
2bf9bc98a7 improve gkvdb, container 2019-08-26 23:35:44 +08:00
John
b7f67e3162 add StackWithFilter function for glog, and improve gdb/ghttp 2019-08-26 20:09:24 +08:00
John
7dffd9d1ff add package gkvdb; add kvdb storage feature for ghttp.Server 2019-08-22 21:04:30 +08:00
John
e151055521 improve resource feature for ghttp/gview 2019-08-19 20:17:13 +08:00
John
ab381dacfe add resource feature support for gview 2019-08-16 00:29:14 +08:00
John
9162fde14a improve resource feature for ghttp.Server 2019-08-15 19:27:32 +08:00
John
6cf1714a07 improve resource feature for ghttp.Server 2019-08-15 19:20:39 +08:00
John
a8a8dbeab8 adding gres 2019-08-14 22:16:33 +08:00
John
6113df2b3e adding gres 2019-08-14 22:03:52 +08:00
John
162df6b250 fix issue in number overflow from int64 to int for ghttp.Session/ghttp.Cookie/gcache 2019-08-13 20:15:09 +08:00
John
72be3803ec update unit test cases for ghttp 2019-08-10 18:07:24 +08:00
John
7787135549 improve status checks if there're middlewares registed for ghttp.Server 2019-08-10 17:46:11 +08:00
John
56368500a3 add header support for session feature of ghttp.Server 2019-08-10 16:39:46 +08:00
John
846c6a579e improve ghttp.RouterGroup 2019-08-10 14:10:47 +08:00
john
573179060e improve gjson 2019-08-09 20:33:21 +08:00
john
fda345577a add package gdebug; improve gconv/gfile/gset 2019-08-09 20:05:36 +08:00
john
3af3fd1428 fix issue in gset.Pop; improve internal/debug 2019-08-09 09:51:52 +08:00
John
0376c99b5a update unit test cases for ghttp 2019-08-06 23:10:37 +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
06c16bf560 remove thirdparty diectory, add go.mod for package dependences 2019-08-01 14:07:25 +08:00
John
b01add2925 update project structure 2019-07-29 21:01:19 +08:00