go.uber.org/yarpc@v1.72.1/encoding/thrift/thriftrw-plugin-yarpc/internal/tests/NOSERVICES.thrift (about)

     1  // Thrift file with no service to ensure that types_yarpc.go is always
     2  // generated.
     3  
     4  exception ExWithAnnotation {
     5      1: optional string foo
     6  } (
     7      rpc.code = "OUT_OF_RANGE"
     8  )
     9  
    10  exception ExWithoutAnnotation {
    11      1: optional string bar
    12  }
    13  
    14  struct Struct {
    15      1: optional string baz
    16  }