Commit Graph

36 Commits

Author SHA1 Message Date
smallnest
3cda99a269 add statsview 2023-11-19 13:39:28 +08:00
smallnest
9ed68fca4f add PostHTTPRequestPlugin 2023-07-02 18:31:22 +08:00
smallnest
04d244cede #763 fix gateway error log 2022-12-18 18:21:11 +08:00
smallnest
2e3fc76fbb remove the message pool 2022-12-12 11:08:41 +08:00
smallnest
96bde638f0 #713 add DoPreWriteResponse and DoPostWriteResponse for error gateway case 2022-04-10 22:11:26 +08:00
smallnest
d84c938e50 use errors.Is 2022-02-21 08:40:59 +08:00
supermario1990
93a0782690 use specific error type replace strings.Contains 2022-01-29 11:28:15 +08:00
13981712066
1acf129a15 在gateway中, 如果服务方法执行成功, 则调用DoPreWriteResponse插件时,应当带上res结果参数 2021-11-25 08:14:25 +08:00
13981712066
e401348769 修正在gateway中, 如果业务方法返回错误信息,无法调用DoPreWriteResponse和DoPostWriteResponse中间件的bug。 2021-11-22 16:18:40 +08:00
smallnest
317d69f100 users can handle service errors instead of log 2021-06-02 20:37:06 +08:00
smallnest
97437a8216 usre share.Context for gateway 2021-04-26 22:23:02 +08:00
smallnest
7cece5b70e add CMuxPlugin 2021-04-09 18:33:54 +08:00
smallnest
42a82be8f8 fix wrong char 2020-09-17 18:27:14 +08:00
smallnest
711218d145 support reuseport with http 2020-09-17 18:25:17 +08:00
smallnest
8d84e97721 use share.Context in jsonrpc2.0 and gateway 2020-09-03 14:34:46 +08:00
smallnest
5599102026 change PreWriteResponse to add an error parameter 2020-08-22 16:46:31 +08:00
smallnest
e4de7918ec remove v5 to make master to support gopath 2020-08-11 17:04:52 +08:00
smallnest
2b2d19376a pump version to v5.7.2 2020-08-06 17:25:11 +08:00
smallnest
bd48ea556b implement graceful restart 2020-07-13 18:00:08 +08:00
smallnest
b633eed003 remove v5 2020-04-28 18:42:05 +08:00
smallnest
d9d3fafbec modify for v5 2020-04-28 18:40:29 +08:00
smallnest
c13fa98bc4 remove v5 2020-04-28 18:20:33 +08:00
smallnest
1eebab9d9c add v5 tempralrily 2020-04-28 18:18:03 +08:00
smallnest
bff251b691 write idiomatic go code 2020-04-14 19:49:25 +08:00
smallnest
c65a6415f3 remove unexpected error 2020-02-14 13:10:52 +08:00
smallnest
4f758db059 print info for gateway server closed 2020-01-04 15:41:09 +08:00
smallnest
cb09633b0f add plugin invoke for http interface 2019-06-24 18:30:04 +08:00
smallnest
d90b4ba208 add 2 options to control httpinvoke and jsonrpc 2.0 services 2019-05-30 20:12:39 +08:00
smallnest
4c3a94faaf support CORS for http invoke 2019-05-05 14:33:54 +08:00
smallnest
b81ab94868 #306 fix wrong cmux Matcher when implement jsonrpc2 2019-02-25 12:15:49 +08:00
smallnest
68a279e834 #264 support jsonrpc2 (doesn't support batch) 2019-02-11 14:47:37 +08:00
smallnest
18a54e0770 check empty headers 2018-10-29 18:08:49 +08:00
smallnest
c205a7da6f #245 shutdown gateway graceful too 2018-08-15 18:17:48 +08:00
smallnest
6883f803fa a broken AP change: extend PreWriteResponse 2018-02-27 17:33:02 +08:00
smallnest
a31a31a06e fix test error 2018-01-20 10:48:20 +08:00
smallnest
52f3e2f02c #183 invoke rpcx services via http 2018-01-19 18:27:01 +08:00