15 lines
342 B
Thrift
15 lines
342 B
Thrift
const string HELLO_IN_ENGLISH = "hello!"
|
|
const string HELLO_IN_KOREAN = "an-nyoung-ha-se-yo"
|
|
const string HELLO_IN_FRENCH = "bonjour!"
|
|
const string HELLO_IN_JAPANESE = "konichiwa!"
|
|
|
|
struct Message {
|
|
1: string name,
|
|
2: optional string lang = "en"
|
|
}
|
|
|
|
service HelloWorld {
|
|
string ping(),
|
|
string sayHello(1:Message msg)
|
|
}
|