Created
November 21, 2013 18:27
-
-
Save dghubble/7586859 to your computer and use it in GitHub Desktop.
Thrift Interface Definition for Echoer Service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct EchoArgs { | |
1: required string Message | |
} | |
struct EchoReply { | |
1: required string Echo | |
} | |
struct MultiplyArgs { | |
1: required i64 A | |
2: required i64 B | |
} | |
struct MultiplyReply { | |
1: required i64 Product | |
2: required string Error | |
} | |
service EchoerThrift { | |
EchoReply Echo( | |
1: EchoArgs argz | |
) | |
MultiplyReply Multiply( | |
1: MultiplyArgs argz | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment