Skip to content

Commit 1722a07

Browse files
committed
code & doc clean
1 parent 78683db commit 1722a07

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# GRPC
22

3-
gRPC Proto Buffers for Chatie
4-
53
![chatie grpc](https://chatie.io/grpc/images/grpc.png)
64

5+
gRPC for Chatie
6+
77
## INSTALL
88

99
```shell
@@ -51,7 +51,7 @@ protoc \
5151

5252
> <https://www.npmjs.com/package/grpc-tools>
5353
54-
### 3. TS for Protocol Buffer & gRPC Stubs
54+
### 3. TypeScript Typing Definations for Protocol Buffer & gRPC Stubs
5555

5656
```shell
5757
protoc \

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"ts-node": "^6.0.2",
5858
"ts-protoc-gen": "^0.6.0",
5959
"tslint": "^5.10.0",
60+
"tslint-config-standard": "^7.1.0",
6061
"tslint-eslint-rules": "^5.1.0",
6162
"typescript": "^2.8.3"
6263
},

protobuf/wechaty-puppet.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
syntax = "proto3";
22

3-
package wechaty;
3+
package Wechaty;
44

55
service Puppet {
66
rpc selfId(Empty) returns (Id) {}
@@ -24,5 +24,5 @@ message ContactPayload {
2424
}
2525

2626
message ContactList {
27-
repeated Id id_list = 1;
27+
repeated Id id = 1;
2828
}

0 commit comments

Comments
 (0)