github.com/cloudwego/kitex@v0.9.0/pkg/generic/json_test/idl/mock.thrift (about)

     1  namespace go thrift
     2  
     3  struct MockReq {
     4  	1: string Msg,
     5  	2: map<string, string> strMap,
     6  	3: list<string> strList,
     7  }
     8  
     9  exception Exception {
    10      1: i32 code
    11      255: string msg
    12  }
    13  
    14  service Mock {
    15      string Test(1:MockReq req)
    16      string ExceptionTest(1:MockReq req)throws(1: Exception err)
    17  }