syntax = "proto3"; option go_package = "./pb"; package pb; import "google/protobuf/struct.proto"; message PlayerAuthReq{ string player_id = 1; string game_id = 2; } message CsAuthReq{ string cs_id = 1; } message CheckAuthReq{ string access_token = 1; } message AuthResp{ int64 code = 1; string msg = 2; google.protobuf.Struct data = 3; } service Auth{ rpc playerAuth (PlayerAuthReq) returns (AuthResp); rpc csAuth (CsAuthReq) returns (AuthResp); rpc checkAuth (CheckAuthReq) returns (AuthResp); }