29 lines
381 B
Protocol Buffer
29 lines
381 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package ecpm_service;
|
|
option go_package="./ecpm";
|
|
|
|
message Request {
|
|
string ping = 1;
|
|
}
|
|
|
|
message Response {
|
|
string pong = 1;
|
|
}
|
|
|
|
message GetEcpmRequest{
|
|
string appId =1;
|
|
string openId=2;
|
|
}
|
|
|
|
message GetEcpmResponse{
|
|
bool ok =1;
|
|
}
|
|
|
|
service ecpm_service {
|
|
|
|
rpc Ping(Request) returns(Response);
|
|
|
|
rpc GetEcpm(GetEcpmRequest) returns(GetEcpmResponse);
|
|
}
|