syntax = "proto3"; package admin_service; option go_package = "./admin_service"; message Request { string ping = 1; } message Response { string pong = 1; } message GetAppListRequest { } message GetAppListResponse { repeated AppInfo app_list = 1; } message AppInfo { int32 id = 1; string type = 2; string app_id = 3; string secret = 4; string remark = 5; float ecpm = 6; uint32 ipu = 7; } service admin_service { rpc Ping(Request) returns(Response); //获取app列表 rpc GetAppList(GetAppListRequest) returns(GetAppListResponse); }