Files
go-common/app/service/main/open/api/grpc/v1/api.proto
2019-04-22 18:49:16 +08:00

46 lines
657 B
Protocol Buffer

syntax = "proto3";
package manager.service.open;
option go_package = "v1";
message AppIDReply {
int64 app_id = 1;
}
message AppIDReq {
string app_key = 2;
}
message CloseReply {
}
message CloseReq {
}
message PingReply {
}
message PingReq {
}
message SecretReply {
string res = 1;
}
message SecretReq {
string sapp_key = 2;
}
service Open {
// Ping check dao health.
rpc Ping(PingReq) returns(PingReply);
// Close close all dao.
rpc Close(CloseReq) returns(CloseReply);
// Secret .
rpc Secret(SecretReq) returns(SecretReply);
// AppID .
rpc AppID(AppIDReq) returns(AppIDReply);
}