Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
11d6ffe
trpc-proto doc
Jul 3, 2019
1df0ed1
update readme
Jul 3, 2019
39d6d9c
update doc
Jul 3, 2019
dd81aed
update readme
Jul 3, 2019
8e5770f
fix repeated
Jul 5, 2019
bf122f6
add const&retcode
Jul 8, 2019
d7edd9a
update readme
Jul 8, 2019
44f4d97
update const
Jul 8, 2019
c12d6df
update const
Jul 8, 2019
4fe39e1
update proto const define
Jul 9, 2019
b516e2e
update doc
Jul 9, 2019
2cbc8ef
update doc
Jul 9, 2019
910cf87
add java_package
Jul 9, 2019
8b14015
add java_outer_classname
Jul 9, 2019
ab2995d
feat: Add proto go_package
tensorchen Jul 11, 2019
7800676
change proto define
Jul 15, 2019
a9e7024
update doc
Jul 15, 2019
913904b
change string to bytes
Jul 25, 2019
8e75fdb
update route name specifition
Aug 6, 2019
d2c8f9c
change stream data support
Aug 23, 2019
28dafd4
proto change to support streaming
Aug 23, 2019
f4d589a
update proto
Aug 24, 2019
e0c56d6
update proto
Aug 24, 2019
e3ffa6a
update proto
Aug 24, 2019
823f132
update proto
Aug 24, 2019
7dac67f
update proto
Aug 24, 2019
b111a3b
update trpc
Aug 24, 2019
c5c2171
update doc
Aug 27, 2019
ceac285
增加trans_info已使用的key列表
Aug 30, 2019
2175754
update RetCode and EncodeType
Sep 21, 2019
a26c7c1
update
Sep 21, 2019
7e6b9c7
update java package
Sep 21, 2019
b507a2c
update java package
Sep 21, 2019
b44cf9e
update caller
Sep 26, 2019
6623460
docs: add auth/validation retcode
Dec 9, 2019
fb1127f
Merge branch 'master' into 'master' (merge request !1)
Dec 9, 2019
56e0c80
style: 格式化文件;修复拼写错误;修复 md 文件表格错误
Dec 26, 2019
d5ab4fe
fix: 拼写错误
Dec 26, 2019
9fe2570
feat: 添加上游主动断开连接,提前取消请求错误码 161
Feb 22, 2020
bfd27e8
Merge branch 'master' into 'master' (merge request !1)
Feb 22, 2020
ba2a7fa
Merge branch 'master' into 'master' (merge request !2)
Mar 4, 2020
0b1bd99
feature: trpc protocol support streaming
May 11, 2020
2cf5b5a
doc: update
May 11, 2020
b335cf3
feature: trpc protocol support streaming
May 13, 2020
5a1d5e1
feature: trpc protocol support streaming
May 14, 2020
afe56a0
doc: update trpc streaming
May 14, 2020
5e248a9
docs:update trpc streaming
May 14, 2020
c27ad95
doc:update
May 14, 2020
9b8050b
Merge branch 'feature/streaming' into 'master' (merge request !3)
May 19, 2020
1544900
typofix
Jun 16, 2020
a9fbcc5
Merge branch 'master' into 'master' (merge request !4)
Jul 6, 2020
05567b1
proto: 更新trpc.proto,增加trans_info字段会全链路透传的说明
Jul 13, 2020
c8e92ef
Merge branch 'master' into 'master' (merge request !6)
Jul 13, 2020
bcd11f8
add TRPC_ZLIB_COMPRESS
Aug 5, 2020
dffaaa9
Merge branch 'master' into 'master' (merge request !7)
Aug 5, 2020
b858a2a
feat: TrpcStreamCloseMeta 增加字段func_ret,代表业务层的错误返回码
Nov 24, 2020
5113443
Merge branch 'closeMeta' into 'master' (merge request !8)
Dec 9, 2020
29808fb
feat: 修改流控相关字段含义以及类型
Jan 14, 2021
dfda0ef
feat: 增加xml序列化对应字段TRPC_XML_ENCODE
Feb 1, 2021
db6d665
add limiter errors.
tocrafty Sep 3, 2021
9518a49
optimize: trpc协议针对全链路超时/过载/流控等返回码优化
Dec 8, 2021
d1458cf
feat: 支持proto文件的alias
May 6, 2022
d533b3b
optimize: 规范pb文件的引入路径以及bazel化
May 9, 2022
c3f8c68
update trpc.proto link
Aug 8, 2022
7d0eb6b
trpc-go proto 文件移动至 trpc-protocol 项目下
Aug 5, 2022
cdd62bc
update
Aug 8, 2022
f7e1383
update
Aug 8, 2022
ff3b18f
trpc协议更新:新增 Snappy 的 stream、block 压缩类型 (merge request !16)
Aug 1, 2022
91584bc
version: --story=876957019 trpc/trpc-protocol发布版本v0.2.1
Aug 12, 2022
04120c9
将 validate.ext.proto 重命名回 validate.proto (merge request !19)
Aug 18, 2022
5e6aaaa
add java package option (merge request !20)
Aug 25, 2022
372b5b9
change paths of protobuf files (merge request !22)
Sep 20, 2022
0c8c0e7
add trpcv2 proto files
Nov 28, 2022
c2b9965
rick 在支持 trpc/v2 形式
Nov 30, 2022
e052888
feat: 支持attachment
Jan 18, 2023
d08fc58
feat: 发布v0.3.0版本
Feb 23, 2023
9e2cb52
release pb/go/trpc/v0.1.0
liuzengh Apr 19, 2023
1538da9
{trpc.proto, trpc.pb.go}: Add TRPC_CLIENT_READ_FRAME_ERR(171) Error C…
liuzengh May 9, 2023
0c7712a
feat: 支持lz4 compressor
May 17, 2023
1b773db
feat: trpc protocol发布v0.4.0版本
May 17, 2023
c745f4b
feat(trpc.api): add openapiv2.proto support json_schema
Feb 29, 2024
18c6a2e
feat(stream/trpc):trpc流式传输协议新增流空闲关闭的错误码
Mar 28, 2024
4370f63
Version: trpc protocol发布v0.4.1版本
Apr 2, 2024
c4ca8fe
pb/go/trpc: regenerate stub code to include LZ4_BLOCK_COMPRESS field
liuzengh Jun 18, 2024
aa5667e
add reflection.proto and corresponding go stub code to support server…
liuzengh Jun 20, 2024
77c8b29
pb/go/trpc: release v0.2.0 (merge request !41)
liuzengh Jul 2, 2024
822164b
trpc: synchronize the serialization types (merge request !43)
Rememorio Aug 5, 2024
5bf519d
pb/go/trpc: move reflection package to reflection module (merge requ…
liuzengh Aug 6, 2024
678871c
Merge branch 'now'
hyprh Apr 15, 2025
4ca4b0f
fix merge issue
hyprh Apr 15, 2025
8a626fa
fix merge issue
hyprh Apr 15, 2025
0092971
fix merge issue
hyprh Apr 15, 2025
535f67a
fix merge issue
hyprh Apr 15, 2025
22ab5e6
fix merge issue
hyprh Apr 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ cmake-build-debug/

build/
*.pb.h
*.pb.cc
*.pb.cc

### PreCI ###
.codecc
20 changes: 18 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,33 @@ all:
protoc -I$(INCLUDE_GOOGLE_PB_PATH) -I.\
--go_out=paths=source_relative:./$(DIR) \
./trpc/api/annotations.proto \
./trpc/api/http.proto
./trpc/api/http.proto \
./trpc/api/openapiv2.proto
protoc -I$(INCLUDE_GOOGLE_PB_PATH) -I.\
--go_out=./$(DIR) \
./trpc/trpc.proto \
./trpc/proto/trpc_options.proto \
./trpc/swagger/swagger.proto \
./trpc/validate/validate.proto
./trpc/validate/validate.proto
mv $(DIR)/trpc.group/trpc/trpc-protocol/pb/go/trpc/* $(DIR)/trpc
rm -rf $(DIR)/trpc.group
cd ./$(DIR)/trpc && go mod init trpc.group/trpc/trpc-protocol/$(DIR)/trpc && go mod tidy && cd -

# trpc v2
protoc -I$(INCLUDE_GOOGLE_PB_PATH) -I.\
--go_out=paths=source_relative:./$(DIR) \
./trpc/v2/api/annotations.proto \
./trpc/v2/api/http.proto
protoc -I$(INCLUDE_GOOGLE_PB_PATH) -I.\
--go_out=./$(DIR) \
./trpc/v2/trpc.proto \
./trpc/v2/proto/trpc_options.proto \
./trpc/v2/swagger/swagger.proto \
./trpc/v2/validate/validate.proto
mv $(DIR)/trpc.group/trpc/trpc-protocol/pb/go/trpc/v2/* $(DIR)/trpc/v2
rm -rf $(DIR)/trpc.group
cd ./$(DIR)/trpc/v2 && go mod init trpc.group/trpc/trpc-protocol/$(DIR)/trpc/v2 && go mod tidy && cd -

.PHONY: test clean

test:
Expand Down
9 changes: 5 additions & 4 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
name = "com_google_protobuf",
sha256 = "0cbdc9adda01f6d2facc65a22a2be5cecefbefe5a09e5382ee8879b522c04441",
strip_prefix = "protobuf-3.15.8",
sha256 = "d0f5f605d0d656007ce6c8b5a82df3037e1d8fe8b121ed42e536f569dec16113",
strip_prefix = "protobuf-3.14.0",
urls = [
"https://github.com/protocolbuffers/protobuf/archive/v3.15.8.tar.gz",
"https://mirrors.tencent.com/github.com/protocolbuffers/protobuf/archive/v3.14.0.tar.gz",
"https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v3.14.0.tar.gz",
"https://github.com/protocolbuffers/protobuf/archive/v3.14.0.tar.gz",
],
)

load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")

protobuf_deps()
94 changes: 72 additions & 22 deletions pb/go/trpc/api/annotations.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 24 additions & 2 deletions pb/go/trpc/api/http.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading