Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ningenme/mami-interface
趣味開発 all-interface (product name: mami)
https://github.com/ningenme/mami-interface
golang grpc grpc-web openapi protobuf typescript
Last synced: 18 days ago
JSON representation
趣味開発 all-interface (product name: mami)
- Host: GitHub
- URL: https://github.com/ningenme/mami-interface
- Owner: ningenMe
- Created: 2022-09-12T16:57:31.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-26T17:35:37.000Z (almost 2 years ago)
- Last Synced: 2024-12-24T02:49:59.054Z (23 days ago)
- Topics: golang, grpc, grpc-web, openapi, protobuf, typescript
- Language: JavaScript
- Homepage:
- Size: 135 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mami-interface
```shell
protoc \
--go_out=./mami-generated-server --go_opt=paths=source_relative \
--go-grpc_out=./mami-generated-server --go-grpc_opt=paths=source_relative \
./nina-api-grpc/*.proto
``````shell
TS_OUT_PATH="./mami-generated-client"
protoc \
--js_out="import_style=commonjs,binary:${TS_OUT_PATH}" \
--grpc-web_out="import_style=typescript,mode=grpcwebtext:${TS_OUT_PATH}" \
./nina-api-grpc/*.proto
```