-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathtrpc.yaml
96 lines (92 loc) · 2.82 KB
/
trpc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
---
domain: trpc.group
tpl_file_ext: ".tpl"
idl:
protobuf:
executable: protoc
version_min: v3.6.0
version_cmd: ""
artifact_url: "https://github.com/trpc-group/trpc-cmdline/releases/download/v0.0.1-${os}/protoc"
md5: ""
repository: ""
fallback: "please install protoc first, see: https://github.com/protocolbuffers/protobuf"
flatbuffers:
executable: flatc
version_min: ""
version_cmd: ""
artifact_url: "https://github.com/trpc-group/trpc-cmdline/releases/download/v0.0.1-${os}/flatc"
md5: ""
repository: ""
fallback: "please install flatc first, see: https://google.github.io/flatbuffers/flatbuffers_guide_building.html"
tools:
go:
- executable: protoc-gen-go
version_min: ""
version_cmd: ""
artifact_url: "https://github.com/trpc-group/trpc-cmdline/releases/download/v0.0.1-${os}/protoc-gen-go"
md5: ""
repository: "github.com/golang/protobuf/protoc-gen-go"
fallback: ""
- executable: protoc-gen-validate
version_min: ""
version_cmd: ""
artifact_url: "https://github.com/trpc-group/trpc-cmdline/releases/download/v0.0.1-${os}/protoc-gen-validate"
md5: ""
repository: "https://github.com/bufbuild/protoc-gen-validate/releases"
fallback: ""
- executable: protoc-gen-validate-go
version_min: ""
version_cmd: ""
artifact_url: "https://github.com/trpc-group/trpc-cmdline/releases/download/v0.0.1-${os}/protoc-gen-validate-go"
md5: ""
repository: "https://github.com/bufbuild/protoc-gen-validate/releases"
fallback: ""
- executable: goimports
version_min: ""
version_cmd: ""
artifact_url: "https://github.com/trpc-group/trpc-cmdline/releases/download/v0.0.1-${os}/goimports"
md5: ""
repository: "golang.org/x/tools/cmd/goimports"
fallback: ""
- executable: mockgen
version_min: ""
version_cmd: ""
artifact_url: "https://github.com/trpc-group/trpc-cmdline/releases/download/v0.0.1-${os}/mockgen"
md5: ""
repository: "github.com/golang/mock/[email protected]"
fallback: ""
plugins:
go:
- swagger
- openapi
- validate
- goimports
- gofmt
- mockgen
- gotag
cpp:
- cpp_move
templates:
protobuf:
go:
asset_dir: protobuf/asset_go
lang_file_ext: go
separator: "."
keep_orig_name: true
rpc_server_stub: service_rpc.go.tpl
rpc_server_test_stub: service_rpc_test.go.tpl
rpc_client_stub:
- rpc/trpc.go.tpl
cpp:
asset_dir: protobuf/asset_cpp
keep_orig_name: true
flatbuffers:
go:
asset_dir: flatbuffers/asset_go
lang_file_ext: go
separator: "."
keep_orig_name: true
rpc_server_stub: service_rpc.go.tpl
rpc_server_test_stub: service_rpc_test.go.tpl
rpc_client_stub:
- rpc/trpc.go.tpl