You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
657 B
45 lines
657 B
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); |
|
}
|
|
|