| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
package foo |
| 15 |
|
| 16 |
import proto "github.com/gogo/protobuf/proto" |
| 17 |
import fmt "fmt" |
| 18 |
import math "math" |
| 19 |
import _ "github.com/influxdata/yarpc/yarpcproto" |
| 20 |
|
| 21 |
|
| 22 |
var _ = proto.Marshal |
| 23 |
var _ = fmt.Errorf |
| 24 |
var _ = math.Inf |
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
const _ = proto.GoGoProtoPackageIsVersion2 |
| 31 |
|
| 32 |
type Request struct { |
| 33 |
In string `protobuf:"bytes,1,opt,name=in,proto3" json:"in,omitempty"` |
| 34 |
} |
| 35 |
|
| 36 |
func (m *Request) Reset() { *m = Request{} } |
| 37 |
func (m *Request) String() string { return proto.CompactTextString(m) } |
| 38 |
func (*Request) ProtoMessage() {} |
| 39 |
func (*Request) Descriptor() ([]byte, []int) { return fileDescriptorFoo, []int{0} } |
| 40 |
|
| 41 |
func (m *Request) GetIn() string { |
| 42 |
if m != nil { |
| 43 |
return m.In |
| 44 |
} |
| 45 |
return "" |
| 46 |
} |
| 47 |
|
| 48 |
type Response struct { |
| 49 |
Out string `protobuf:"bytes,1,opt,name=out,proto3" json:"out,omitempty"` |
| 50 |
} |
| 51 |
|
| 52 |
func (m *Response) Reset() { *m = Response{} } |
| 53 |
func (m *Response) String() string { return proto.CompactTextString(m) } |
| 54 |
func (*Response) ProtoMessage() {} |
| 55 |
func (*Response) Descriptor() ([]byte, []int) { return fileDescriptorFoo, []int{1} } |
| 56 |
|
| 57 |
func (m *Response) GetOut() string { |
| 58 |
if m != nil { |
| 59 |
return m.Out |
| 60 |
} |
| 61 |
return "" |
| 62 |
} |
| 63 |
|
| 64 |
func init() { |
| 65 |
proto.RegisterType((*Request)(nil), "foo.Request") |
| 66 |
proto.RegisterType((*Response)(nil), "foo.Response") |
| 67 |
} |
| 68 |
|
| 69 |
func init() { proto.RegisterFile("test/foo/foo.proto", fileDescriptorFoo) } |
| 70 |
|
| 71 |
var fileDescriptorFoo = []byte{ |
| 72 |
|
| 73 |
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2a, 0x49, 0x2d, 0x2e, |
| 74 |
0xd1, 0x4f, 0xcb, 0xcf, 0x07, 0x61, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0xe6, 0xb4, 0xfc, |
| 75 |
0x7c, 0x29, 0x93, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0xfd, 0xe2, 0x92, |
| 76 |
0xd2, 0xc4, 0xa2, 0x92, 0xe4, 0xc4, 0xa2, 0xbc, 0xcc, 0x54, 0xfd, 0xca, 0xc4, 0xa2, 0x82, 0x64, |
| 77 |
0x08, 0x09, 0x56, 0x0e, 0x61, 0x42, 0xb4, 0x2a, 0x49, 0x72, 0xb1, 0x07, 0xa5, 0x16, 0x96, 0xa6, |
| 78 |
0x16, 0x97, 0x08, 0xf1, 0x71, 0x31, 0x65, 0xe6, 0x49, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, 0x31, |
| 79 |
0x65, 0xe6, 0x29, 0xc9, 0x70, 0x71, 0x04, 0xa5, 0x16, 0x17, 0xe4, 0xe7, 0x15, 0xa7, 0x0a, 0x09, |
| 80 |
0x70, 0x31, 0xe7, 0x97, 0x96, 0x40, 0x25, 0x41, 0x4c, 0xa3, 0x0a, 0x2e, 0x66, 0xb7, 0xfc, 0x7c, |
| 81 |
0x21, 0x03, 0x2e, 0xee, 0xd0, 0xbc, 0xc4, 0xa2, 0x4a, 0xdf, 0xd4, 0x92, 0x8c, 0xfc, 0x14, 0x21, |
| 82 |
0x1e, 0x3d, 0x90, 0xab, 0xa0, 0x26, 0x4a, 0xf1, 0x42, 0x79, 0x10, 0x43, 0x94, 0x58, 0x1a, 0xb6, |
| 83 |
0x4a, 0x30, 0x08, 0x59, 0x72, 0x09, 0x05, 0xa7, 0x16, 0x95, 0xa5, 0x16, 0x05, 0x97, 0x14, 0xa5, |
| 84 |
0x26, 0xe6, 0x12, 0xab, 0x91, 0xd1, 0x80, 0x51, 0x0a, 0x6c, 0x40, 0x12, 0x1b, 0xd8, 0xe5, 0xc6, |
| 85 |
0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x29, 0xba, 0xb4, 0xf3, 0x0a, 0x01, 0x00, 0x00, |
| 86 |
} |