2015-01-14 13:50:54 +03:00
|
|
|
// Code generated by protoc-gen-go.
|
2015-05-05 21:05:06 +03:00
|
|
|
// source: myodc/go-micro/template/proto/example/example.proto
|
2015-01-14 02:31:27 +03:00
|
|
|
// DO NOT EDIT!
|
|
|
|
|
2015-05-05 21:05:06 +03:00
|
|
|
/*
|
|
|
|
Package go_micro_service_template_example is a generated protocol buffer package.
|
|
|
|
|
|
|
|
It is generated from these files:
|
|
|
|
myodc/go-micro/template/proto/example/example.proto
|
|
|
|
|
|
|
|
It has these top-level messages:
|
|
|
|
Request
|
|
|
|
Response
|
|
|
|
*/
|
2015-01-14 02:31:27 +03:00
|
|
|
package go_micro_service_template_example
|
|
|
|
|
2015-05-05 21:05:06 +03:00
|
|
|
import proto "github.com/golang/protobuf/proto"
|
2015-01-14 02:31:27 +03:00
|
|
|
import math "math"
|
|
|
|
|
2015-05-05 21:05:06 +03:00
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
2015-01-14 02:31:27 +03:00
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
type Request struct {
|
|
|
|
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Request) Reset() { *m = Request{} }
|
|
|
|
func (m *Request) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Request) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (m *Request) GetName() string {
|
|
|
|
if m != nil && m.Name != nil {
|
|
|
|
return *m.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type Response struct {
|
|
|
|
Msg *string `protobuf:"bytes,1,req,name=msg" json:"msg,omitempty"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Response) Reset() { *m = Response{} }
|
|
|
|
func (m *Response) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Response) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (m *Response) GetMsg() string {
|
|
|
|
if m != nil && m.Msg != nil {
|
|
|
|
return *m.Msg
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
}
|