syntax = "proto3"; service IGAPI { rpc login () returns (Reply) {} rpc account_info () returns (Reply) {} rpc upload (Request) returns (Reply) {} rpc delete (Request) returns (Reply) {} rpc setting (Request) returns (Reply) {} } message Request { int code = 1; repeated string args = 2; } message Reply { int err = 1; map result = 2; }