proto modify

This commit is contained in:
geek 2017-05-24 15:35:59 +09:00
parent e87f23cd22
commit c8f59ea37d
2 changed files with 28 additions and 20 deletions

View File

@ -67,6 +67,7 @@ func (m *ServiceInput) GetParam() map[string]string {
} }
type ServiceOutput struct { type ServiceOutput struct {
ResultStr string `protobuf:"bytes,1,opt,name=resultStr" json:"resultStr,omitempty"`
} }
func (m *ServiceOutput) Reset() { *m = ServiceOutput{} } func (m *ServiceOutput) Reset() { *m = ServiceOutput{} }
@ -74,6 +75,13 @@ func (m *ServiceOutput) String() string { return proto.CompactTextStr
func (*ServiceOutput) ProtoMessage() {} func (*ServiceOutput) ProtoMessage() {}
func (*ServiceOutput) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } func (*ServiceOutput) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *ServiceOutput) GetResultStr() string {
if m != nil {
return m.ResultStr
}
return ""
}
func init() { func init() {
proto.RegisterType((*ServiceInput)(nil), "gwrpc.ServiceInput") proto.RegisterType((*ServiceInput)(nil), "gwrpc.ServiceInput")
proto.RegisterType((*ServiceOutput)(nil), "gwrpc.ServiceOutput") proto.RegisterType((*ServiceOutput)(nil), "gwrpc.ServiceOutput")
@ -154,23 +162,23 @@ var _OverflowGateway_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("grpc.proto", fileDescriptor0) } func init() { proto.RegisterFile("grpc.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{ var fileDescriptor0 = []byte{
// 274 bytes of a gzipped FileDescriptorProto // 286 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4a, 0x2f, 0x2a, 0x48, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0x41, 0x4a, 0xc3, 0x40,
0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62,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61, 0x0a, 0x03, 0xc5, 0x8a,
0x29, 0x14, 0xcd, 0xc5, 0xe3, 0x5a, 0x91, 0x9a, 0x0c, 0x55, 0x57, 0x2c, 0x24, 0x8c, 0xc5, 0x51, 0x32, 0xc3, 0x1d, 0x2a, 0x13, 0xb1, 0x07, 0x0b, 0x0e, 0x27, 0x9b, 0x8a, 0xa9, 0x97, 0x4c, 0xd4,
0x52, 0x22, 0xa8, 0x82, 0x10, 0xd3, 0x94, 0x14, 0x9a, 0x2e, 0x3f, 0x99, 0xcc, 0x24, 0xa5, 0x24, 0xb7, 0x14, 0x59, 0x4d, 0x1b, 0xf2, 0x08, 0xa3, 0xf5, 0x3b, 0x8b, 0x4d, 0x4a, 0x41, 0xce, 0x0e,
0xaa, 0x5f, 0x66, 0xa8, 0x9f, 0x0f, 0x35, 0x57, 0x1f, 0x1a, 0x20, 0xc5, 0x56, 0x8c, 0x5a, 0x49, 0xac, 0xec, 0x8d, 0xff, 0x43, 0xdd, 0x15, 0xf8, 0x1f, 0xdf, 0x3f, 0x9f, 0xb6, 0x17, 0x9c, 0x47,
0x6c, 0xe0, 0xa0, 0x34, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x61, 0x13, 0xf7, 0x0f, 0x7d, 0x01, 0xd5, 0x55, 0x24, 0x4c, 0x6e, 0x64, 0xce, 0x55, 0xac, 0xac, 0x8b, 0xa7, 0xa3, 0xee, 0xd0, 0xd7,
0x00, 0x00, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb2, 0x2e, 0x3f, 0x2b, 0x9b, 0x01, 0x00, 0x00,
} }

View File

@ -10,7 +10,7 @@ message ServiceInput {
} }
message ServiceOutput { message ServiceOutput {
string resultStr = 1;
} }
service OverflowGateway { service OverflowGateway {