thrift/tutorial/shared.thrift
2009-03-14 07:37:28 +00:00

18 lines
293 B
Thrift

/**
* This Thrift file can be included by other Thrift files that want to share
* these definitions.
*/
namespace cpp shared
namespace java shared
namespace perl shared
struct SharedStruct {
1: i32 key
2: string value
}
service SharedService {
SharedStruct getStruct(1: i32 key)
}