namespace * tutorial
include “shared.thrift”
struct Work {
1: i32 num1 = 0, 2: i32 num2, 3: Operation op, 4: optional string comment,
}
service Calculator extends shared.SharedService {
i32 add(1: i32 num1, 2: i32 num2), oneway void zip()
}
namespace * tutorial
include “shared.thrift”
struct Work {
1: i32 num1 = 0, 2: i32 num2, 3: Operation op, 4: optional string comment,
}
service Calculator extends shared.SharedService {
i32 add(1: i32 num1, 2: i32 num2), oneway void zip()
}