IAuth.proto 262 字节 原文件 审查 历史 永久链接 1 2 3 4 5 6 7 8 9 10 11 12 13 14 package IAuth; message Name { required string name = 1; } message User {} service Impl { rpc user (Name) returns (User) { option (core.rpcdoc) = "Get user data."; option (core.auth) = true; // user or member of the admin group } }