Create an initial gRPC service
This commit adds protobuf files and tooling surrounding generating APIs and datatypes.
This commit is contained in:
parent
e8277595f5
commit
b096a2e7e5
6 changed files with 143 additions and 0 deletions
21
buf.gen.yaml
Normal file
21
buf.gen.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
version: v1
|
||||
plugins:
|
||||
- name: go
|
||||
out: gen/go
|
||||
opt:
|
||||
- paths=source_relative
|
||||
- name: go-grpc
|
||||
out: gen/go
|
||||
opt:
|
||||
- paths=source_relative
|
||||
- name: grpc-gateway
|
||||
out: gen/go
|
||||
opt:
|
||||
- paths=source_relative
|
||||
- generate_unbound_methods=true
|
||||
# - name: gorm
|
||||
# out: gen/go
|
||||
# opt:
|
||||
# - paths=source_relative,enums=string,gateway=true
|
||||
- name: openapiv2
|
||||
out: gen/openapiv2
|
Loading…
Add table
Add a link
Reference in a new issue