20 lines
338 B
Protocol Buffer
20 lines
338 B
Protocol Buffer
|
|
syntax = "proto3";
|
||
|
|
package image;
|
||
|
|
|
||
|
|
service Image {
|
||
|
|
rpc Merge (MergeReq) returns (Reply) {};
|
||
|
|
rpc CreateAvatarOrnament (CreateAvatarOrnamentReq) returns (Reply) {};
|
||
|
|
}
|
||
|
|
|
||
|
|
message MergeReq {
|
||
|
|
string name = 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
message CreateAvatarOrnamentReq {
|
||
|
|
string avatar_path = 1;
|
||
|
|
string ornament_path = 2;
|
||
|
|
}
|
||
|
|
|
||
|
|
message Reply {
|
||
|
|
string path = 1;
|
||
|
|
}
|