mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-30 06:46:36 +08:00
节点可以单独设置所使用的API节点地址
This commit is contained in:
20
pkg/rpc/protos/service_ping.proto
Normal file
20
pkg/rpc/protos/service_ping.proto
Normal file
@@ -0,0 +1,20 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
// Ping服务
|
||||
// 用来测试连接是否可用
|
||||
service PingService {
|
||||
// 发起Ping
|
||||
rpc ping(PingRequest) returns (PingResponse);
|
||||
}
|
||||
|
||||
// 发起Ping
|
||||
message PingRequest {
|
||||
|
||||
}
|
||||
|
||||
message PingResponse {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user