Commit Graph

597 Commits

Author SHA1 Message Date
John Guo
073869b354 downgrade otel version from v1.3.0 to v1.0.0 2022-02-17 15:47:08 +08:00
John Guo
9fdf20b3e2 add SetError for ghttp.Request 2022-02-17 11:51:21 +08:00
John Guo
2428b27168 fix issue #1488 2022-02-15 00:21:05 +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
af39eb4c9f CI update; Example update for package gcache 2022-02-08 23:13:33 +08:00
John Guo
c3161d58fd improve registry for package ghttp 2022-01-29 21:42:48 +08:00
John Guo
4fae47db63 add secondary configuration node name for http server; improve package gsvc 2022-01-28 17:29:05 +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
c845d1d93d add Weight/RoundRobin/LeastConnection selector for package gsel; improve package balancer 2022-01-27 15:15:55 +08:00
John Guo
d322e67117 fix string print for time only gtime.Time; improve package drivers 2022-01-27 12:04:46 +08:00
John Guo
9ff17810a4 add raw grpc example using gsvc/resolver/registry-etcd 2022-01-26 23:43:48 +08:00
John Guo
5f87591407 improve package gsvc 2022-01-26 22:23:54 +08:00
John Guo
65c385c013 add etcd registry; add resolver; improve balancer 2022-01-26 20:51:17 +08:00
John Guo
7ac9c46f12 mark underlying PostForm function deprecated for gclient.Client 2022-01-25 23:01:35 +08:00
John Guo
c371e5221a improve package gsel 2022-01-24 23:33:56 +08:00
John Guo
c9529199a1 add package gsvc/gsel 2022-01-24 23:09:26 +08:00
John Guo
e517bf7b0e improve details for package gjson/gtcp/gudp 2022-01-22 15:45:38 +08:00
John Guo
3b811c3434 add GetFreePort/GetFreePorts for package gtcp/gudp 2022-01-22 15:33:31 +08:00
John Guo
9e3a49dd1b add GetFreePort/GetFreePorts for package gipv4 2022-01-22 15:12:58 +08:00
John Guo
3dcd9b535b UT update for package gclient/ghttp 2022-01-19 18:26:39 +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
9892cc46e4 improve package ghttp 2022-01-13 20:57:13 +08:00
John Guo
9486f6e7e9 improve package gcmd/ghttp 2022-01-12 19:39:38 +08:00
John Guo
d4cb1666e5 improve package gclient for constants 2022-01-10 16:42:30 +08:00
John Guo
09f83bdd58 add panic for ghttp.Server.GetBody 2022-01-06 21:47:36 +08:00
John Guo
09f9d1cb7a improve package gcmd 2022-01-01 00:18:50 +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
48c5c1e5a8 change errors wrapped by gerror.Wrap with error stack info for all packages 2021-12-23 00:09:00 +08:00
John Guo
b9bb1ecd46 Merge branch 'master' of https://github.com/gogf/gf into feature/v2-gerror 2021-12-22 22:29:02 +08:00
John Guo
cafd9098d7 change errors wrapped by gerror.Wrap with error stack info for all packages 2021-12-22 22:22:42 +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
houseme
25bdf10cc8 feat:improve tracing 2021-12-19 00:44:31 +08:00
houseme
02c6deaec8 feat:modify trace-ID to TraceID 2021-12-19 00:18:18 +08:00
John Guo
29a996e70e add Trace-Id response header for package ghttp 2021-12-18 21:54:12 +08:00
John Guo
4978955404 fix issue in missing handler name for standard router handlers 2021-12-18 18:25:04 +08:00
John Guo
77422f71f7 add fnction MustSet/MusetSetMap for package gsession 2021-12-18 14:10:55 +08:00
John Guo
40225c5352 improve route dump for package ghttp;remove mutex for package gtag 2021-12-18 12:54:09 +08:00
John Guo
ad48dc025b improve route dump for package ghttp 2021-12-18 12:43:33 +08:00
John Guo
1215f67aac improve route dump for package ghttp 2021-12-18 12:36:34 +08:00
John Guo
656d1bbbd6 improve content type response for ghttp.Server 2021-12-17 17:42:18 +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
John Guo
f583f28953 rename SetTraceID to WithTraceID for package gtrace 2021-12-17 01:27:24 +08:00
John Guo
b6d60fc209 downgrade otel version to v1.0.0 2021-12-17 00:55:48 +08:00
John Guo
8f24dc3549 add SetTraceID for package gtrace 2021-12-17 00:06:38 +08:00
John Guo
fa45715416 go fmt for go 1.17 2021-12-16 23:26:41 +08:00
John Guo
aee52fd56e enable OpenTelemetry in default for some core components 2021-12-16 23:09:37 +08:00