Skip to content

Commit

Permalink
Update protobuf.md (#1174)
Browse files Browse the repository at this point in the history
  • Loading branch information
YangruiEmma authored Nov 29, 2024
1 parent 8c4e0d3 commit 2750040
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ Kitex 为 Protobuf 封装了更高效的传输协议,并提供了一种自定
#### 客户端

```sh
kitex -type protobuf -I idl/ idl/${proto_name}.proto
kitex -I idl/ idl/${proto_name}.proto
```

#### 服务端

```sh
kitex -type thrift -service ${service_name} ${idl_name}.thrift
kitex -service ${service_name} -I idl/ idl/${proto_name}.proto
```

### 使用 gRPC 作为传输协议
Expand Down

0 comments on commit 2750040

Please sign in to comment.