1
0
mirror of https://github.com/gogf/gf.git synced 2025-04-05 03:05:05 +08:00

56 Commits

Author SHA1 Message Date
John Guo
07696fc779
feat(net/ghttp): add GetMetaTag function to retrieve metadata value for HandlerItem (#4206) 2025-03-17 09:21:00 +08:00
houseme
00e2f6b5dc
chore: improve golangci-lint.yml, upgrade dependencies, and optimize code and comments (#4025) 2024-12-11 10:14:12 +08:00
John Guo
38bffc77e2
fix(net/ghttp): occasional ci failed by unit testing cases using gctp.GetFreePort (#3982) 2024-12-10 09:52:48 +08:00
swift
dba6c08548
net/ghttp: fix Content-Type for jsonp response from application/json to application/javascript (#3651) 2024-06-24 21:37:49 +08:00
John Guo
b4f6f06ab5
no printing internal middleware for ghttp.Server (#3271) 2024-01-22 21:05:40 +08:00
John Guo
ee2cf92479
Version/v2.6.0 beta (#3183) 2023-12-04 19:34:48 +08:00
John Guo
f464f30e6f
improve comment of router feature for ghttp.Server (#3014) 2023-10-16 20:41:10 +08:00
John Guo
1efdb72990
add direct service address support for grpc client (#2991) 2023-10-09 20:03:45 +08:00
海亮
130191f4ed
add in:header tag cache for http request to enhance performance (#2923) 2023-09-25 21:34:58 +08:00
John Guo
4fc24e1391
add endpoints configuration for ghttp.Server (#2741) 2023-07-06 21:29:33 +08:00
John Guo
6eb0de42f8
update context of the original http request (#2717) 2023-06-28 21:04:49 +08:00
XG
8c07f1a42c
feat: support graceful shutdown (#2469) (#2475) 2023-03-13 19:21:56 +08:00
John Guo
1cd1449085
add package contrib/rpc/grpcx (#2169) 2023-03-08 14:12:51 +08:00
John Guo
9402cc8c6a
fix /* router supported for handler of package ghttp; fix json tag name issue when it contains , for package goai; add proxy example for http server (#2294)
* fix  router supported for handler of package ghttp; fix json tag name issue when it contains  for package goai

* add proxy example for http server
2022-11-14 19:57:39 +08:00
John Guo
8c71d579b5
add command fix and up (#2280) 2022-11-10 19:56:12 +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
SUDOCS
63c3e8396b
attach and export real handler for request (#2220)
* attach and export real handler for request

* add note

* rename HandlerParsedItem to HandlerItemParsed

Co-authored-by: John Guo <john@johng.cn>
2022-11-01 20:17:59 +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
6172862061
add MiddlewareJsonBody, improve error response handling for package ghttp (#2032) 2022-07-27 19:52:02 +08:00
John Guo
98b2e8ab18
improve panic...recover of exit feature for package ghttp/gtimer/gfsnotify (#2000) 2022-07-13 20:20:38 +08:00
John Guo
cdd4473df5 improve command gen service; add error trace for error of some packages 2022-06-16 17:07:25 +08:00
John Guo
ea79b3cbb8 move package goai from protocol to net 2022-05-24 18:53:10 +08:00
John Guo
ab5062663e
Feature/gsvc interface (#1871) 2022-05-23 15:08:11 +08:00
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
b5e8e68713 fix issue #1625 2022-02-24 22:07:27 +08:00
John Guo
6f5058c9b6 add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
John Guo
3cb578488c add service registry feature for package ghttp/gclient 2022-01-27 16:50:31 +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
656d1bbbd6 improve content type response for ghttp.Server 2021-12-17 17:42:18 +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
c84e79a46d improve swagger ui feature for package ghttp 2021-10-06 11:54:53 +08:00
John Guo
322f5933ad add build-in swagger ui support for ghttp.Server 2021-10-03 00:22:06 +08:00
John Guo
1e80dc71eb add automatic generating for OpenApi specification for ghttp.Server routes 2021-10-02 22:34:39 +08:00
John Guo
c99c13acd1 refract pacakge gcfg, adding adapter interface for pacakge gcfg 2021-09-19 10:01:09 +08:00
jianchenma
01a3dd1eb0 add function gerror.HasStack; rename all api* interfaces to i* 2021-09-17 19:26:56 +08:00
John
ef36cf8446 fix issue in example of package gjson 2021-08-20 23:15:48 +08:00
jflyfox
4267aadd78 remove controller feature from package ghttp 2021-07-30 15:15:44 +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
0140808460 add handler extension feature for package ghttp 2021-07-13 23:01:31 +08:00
John Guo
237f172ae5 add file configuration support for logger in ghttp.Server 2021-06-26 11:18:44 +08:00
John Guo
5f4293a803 make unnecessaryly exported resource private for package ghttp 2021-01-19 19:33:21 +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