rocksdb/thrift/lib/cpp/test/DebugProtocolTest.thrift
Dhruba Borthakur 80c663882a Create leveldb server via Thrift.
Summary:
First draft.
Unit tests pass.

Test Plan: unit tests attached

Reviewers: heyongqiang

Reviewed By: heyongqiang

Differential Revision: https://reviews.facebook.net/D3969
2012-07-07 09:42:39 -07:00

28 lines
388 B
Thrift

struct Message {
1: bool a,
2: byte b,
3: i16 c,
4: i32 d,
5: i64 e,
6: double f,
7: string g
}
typedef list<Message> MsgList
typedef list<i64> IntList
typedef list<string> StringList
typedef map<string, Message> MsgMap
typedef set<string> MsgSet
struct Ooo {
1: MsgList l,
2: MsgMap m,
3: MsgSet s
}
service DebugProtocolService {
void Func(1: MsgList lst);
}