github.com/cloudwego/kitex@v0.9.0/pkg/generic/http_test/idl/binary_echo.thrift (about) 1 namespace go kitex.test.server 2 3 struct BinaryWrapper { 4 1: binary msg (api.body = "msg") 5 2: bool got_base64 (api.body = "got_base64") 6 3: required i64 num (api.body = "num", api.js_conv="") 7 4: optional string str (api.query = "str", go.tag = "json:\"STR\"") 8 } 9 10 service ExampleService { 11 BinaryWrapper BinaryEcho(1: BinaryWrapper req) (api.get = '/BinaryEcho', api.baseurl = 'example.com') 12 }