mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-10 07:06:53 +00:00
通过tonic支持节点间通信(初步
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
package node_service;
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
message PingRequest {
|
||||
uint64 version = 1;
|
||||
bytes body = 2;
|
||||
}
|
||||
|
||||
message PingResponse {
|
||||
uint64 version = 1;
|
||||
bytes body = 2;
|
||||
}
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
|
||||
service NodeService {
|
||||
rpc Ping(PingRequest) returns (PingResponse) {};
|
||||
}
|
||||
Reference in New Issue
Block a user