Commit Graph

42 Commits

Author SHA1 Message Date
王哈哈
4f4109cdb6
fix typo for comments (#2268)
* Modify comment syntax error

* Modify comment syntax error
2022-11-07 17:55:49 +08:00
John Guo
ee58255418
move common used tag from packages to package gtag for maintainability (#2256)
* move common used tag from packages to package gtag for maintainability

* move common used tag from packages to package gtag for maintainability

Co-authored-by: houseme <housemecn@gmail.com>
2022-11-07 17:51:37 +08:00
houseme
1793bf0863
add golangci feature to guarantee codes quality (#2229) 2022-11-01 20:12:21 +08:00
John Guo
b1611fee1b
improve port listening for ghttp.Server (#2175)
* version updates

* fix issue #2172

* improve port listening for ghttp.Server

* UT cases update

* UT cases update

* add GetListenedPort/GetListenedAddress for gtcp.Server

* UT cases update for package gudp

* up
2022-10-08 21:45:21 +08:00
John Guo
faf09c586c
add GzipPathWriter for package gcompress (#2116)
* add GzipPathWriter for package gcompress

* UT case updates for package package gclient
2022-09-08 17:32:21 +08:00
John Guo
cf5884bc60 add SetBodyContent for gclient.Response 2022-06-17 11:31:32 +08:00
John Guo
aaebaa7250 improve DoRequestObj for gclient.Client 2022-06-16 10:51:12 +08:00
John Guo
17ab0e2ced remove returning error of Write* functions for ghttp.Server; add UT cases for gclient.Client.DoRequestObj 2022-06-15 19:36:53 +08:00
John Guo
f4f73f2765 Merge branch 'master' of https://github.com/gogf/gf into develop 2022-06-15 16:28:20 +08:00
John Guo
babc69e13d add DoRequestObj function for gclient.Client 2022-06-15 16:28:17 +08:00
黄骞
31a23e724d
Improve the code coverage of the gclient module (#1899) 2022-06-13 19:31:42 +08:00
John Guo
26066965c3 Merge branch 'master' of https://github.com/gogf/gf into develop 2022-05-25 16:02:48 +08:00
John Guo
7f199527f8 improve service discovery for package gclient 2022-05-24 19:16:43 +08:00
黄骞
0ca81bd11a
Improve the code coverage of the gtcp module (#1836) 2022-05-23 22:45:12 +08:00
John Guo
ab5062663e
Feature/gsvc interface (#1871) 2022-05-23 15:08:11 +08:00
houseme
ab82599ee2
Feature/polaris feat: Add Polaris support (#1797) 2022-05-18 22:24:40 +08:00
huangqian
f82f53f5f6 modify ExampleNew_MultiConn_Recommend function 2022-05-13 11:58:46 +08:00
huangqian
e27ca17b0e exec CI 2022-05-13 06:47:48 +08:00
huangqian
c7cf72e7bc fix gClien Close() 2022-05-12 23:22:30 +08:00
huangqian
17fc1ce174 Call ReadAll() function in Close() of gClient 2022-05-12 20:08:24 +08:00
huangqian
baf4cc1d1c remove bad example and little fix 2022-05-12 12:48:37 +08:00
huangqian
273b81d60f little fix 2022-05-12 00:22:10 +08:00
huangqian
9026fd2c13 add gClient ExampleNew function, include normal New Example, bad MultiConn New Example and Recommend MultiConn New Example 2022-05-11 23:58:36 +08:00
John Guo
bceb5fc7de rename gdebug.TestData* -> gtest.Data*; add UT case for http server 2022-03-17 16:58:04 +08:00
John Guo
546b6b1724 t.Assert(err, nil) -> t.AssertNil(err) 2022-03-10 11:36:40 +08:00
John Guo
6f5058c9b6 add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
John Guo
5f2047d61b fix issue in configuration StdoutColorDisabled for package glog; rename TempDir to Temp for package gfile 2022-02-14 14:50:25 +08:00
John Guo
f13ccd8527 Merge branch 'master' into feature-gsvc 2022-01-28 16:09:21 +08:00
John Guo
8b48f16508 improve service registry for package ghttp; improve service discovery for package gclient; improve cli 2022-01-28 16:00:16 +08:00
John Guo
04eb654133 add error stack for internal error printing 2022-01-28 14:51:49 +08:00
John Guo
3a658cdb85 improve service registry for package ghttp/gclient 2022-01-27 18:12:39 +08:00
John Guo
3cb578488c add service registry feature for package ghttp/gclient 2022-01-27 16:50:31 +08:00
John Guo
7ac9c46f12 mark underlying PostForm function deprecated for gclient.Client 2022-01-25 23:01:35 +08:00
John Guo
3b811c3434 add GetFreePort/GetFreePorts for package gtcp/gudp 2022-01-22 15:33:31 +08:00
John Guo
3dcd9b535b UT update for package gclient/ghttp 2022-01-19 18:26:39 +08:00
John Guo
d4cb1666e5 improve package gclient for constants 2022-01-10 16:42:30 +08:00
John Guo
fab17f89c4 fix issue in ut for package gsha1/gclient/ghttp/gregex 2021-12-23 00:34:02 +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
aee52fd56e enable OpenTelemetry in default for some core components 2021-12-16 23:09:37 +08:00
John Guo
34e7913268 add internal logging for package gtrace 2021-12-10 23:26:53 +08:00
John Guo
3f24159636 add tracing configuration switch for whole framework 2021-12-10 18:08:36 +08:00
John Guo
8de176d73f move package /net/ghttp/internal/client as /net/gclient 2021-12-03 23:32:00 +08:00