Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/esotericman/wim-specification
Message specification for Wim
https://github.com/esotericman/wim-specification
instant-message message-specification wim
Last synced: about 1 month ago
JSON representation
Message specification for Wim
- Host: GitHub
- URL: https://github.com/esotericman/wim-specification
- Owner: esotericman
- Created: 2024-06-02T09:55:59.000Z (6 months ago)
- Default Branch: V1
- Last Pushed: 2024-06-03T13:41:15.000Z (6 months ago)
- Last Synced: 2024-06-04T15:49:43.918Z (6 months ago)
- Topics: instant-message, message-specification, wim
- Language: JavaScript
- Homepage: https://wim-sr.flmelody.org
- Size: 599 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Instruction
This project is a bunch of message specification of [Wim](https://github.com/esotericman/wim)
## Generate java code
```shell
protoc --proto_path=./protobuf --java_out=./java Heartbeat.proto ChatMessage.proto ChatAck.proto ChatClient.proto ChatResponse.proto ChatStatus.proto FriendAdd.proto FriendBlack.proto ChatType.proto
```## Generate js code
```shell
protoc --proto_path=./protobuf --js_out=import_style=commonjs,binary:./js Heartbeat.proto ChatMessage.proto ChatAck.proto ChatClient.proto ChatResponse.proto ChatStatus.proto FriendAdd.proto FriendBlack.proto ChatType.proto
```## Generate dart code
```shell
protoc --proto_path=./protobuf --dart_out=./dart Heartbeat.proto ChatMessage.proto ChatAck.proto ChatClient.proto ChatResponse.proto ChatStatus.proto FriendAdd.proto FriendBlack.proto ChatType.proto
```## Generate c++ code
```shell
protoc --proto_path=./protobuf --cpp_out=./cpp Heartbeat.proto ChatMessage.proto ChatAck.proto ChatClient.proto ChatResponse.proto ChatStatus.proto FriendAdd.proto FriendBlack.proto ChatType.proto
```