18 lines
450 B
Protocol Buffer
18 lines
450 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package bdledger.api;
|
||
|
|
||
|
import "google/protobuf/empty.proto";
|
||
|
|
||
|
option go_package = "bdware.org/bdledger/pkg/api/grpc/proto";
|
||
|
option java_package = "bdledger.api.grpc.node";
|
||
|
option java_outer_classname = "NodeProto";
|
||
|
option java_multiple_files = true;
|
||
|
|
||
|
service Node {
|
||
|
rpc ClientVersion (google.protobuf.Empty) returns (ClientVersionResponse);
|
||
|
}
|
||
|
|
||
|
message ClientVersionResponse {
|
||
|
string version = 1; // 节点客户端版本
|
||
|
}
|