syntax = "proto3"; package douyin_ecpm_calculation_service; option go_package="./douyin_ecpm_calculation_service"; message Request { string ping = 1; } message Response { string pong = 1; } message GetEcpmRequest{ string appId =1; string openId=2; } message GetEcpmResponse{ bool ok =1; } service douyin_ecpm_calculation_service { rpc Ping(Request) returns(Response); rpc GetEcpm(GetEcpmRequest) returns(GetEcpmResponse); }