base.thrift 250 B

1234567891011121314151617
  1. struct Hello {
  2. 1: optional string name,
  3. 2: optional string greet
  4. }
  5. enum Code {
  6. OK
  7. WARNING
  8. DANDER
  9. ERROR
  10. UNKNOWN
  11. }
  12. typedef list<Code> codelist
  13. typedef map<Code, i64> codemap
  14. typedef set<Code> codeset
  15. typedef i64 timestamp