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
|
|
|
/*
|
2015-05-09 02:42:07 +03:00
|
|
|
Package example is a generated protocol buffer package.
|
2015-05-05 21:05:06 +03:00
|
|
|
|
|
|
|
It is generated from these files:
|
|
|
|
myodc/go-micro/template/proto/example/example.proto
|
|
|
|
|
|
|
|
It has these top-level messages:
|
|
|
|
Request
|
|
|
|
Response
|
|
|
|
*/
|
2015-05-09 02:42:07 +03:00
|
|
|
package example
|
2015-01-14 02:31:27 +03:00
|
|
|
|
2015-05-05 21:05:06 +03:00
|
|
|
import proto "github.com/golang/protobuf/proto"
|
2015-01-14 02:31:27 +03:00
|
|
|
|
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
|
|
|
|
|
|
|
|
type Request struct {
|
2015-05-09 02:42:07 +03:00
|
|
|
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
2015-01-14 02:31:27 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Request) Reset() { *m = Request{} }
|
|
|
|
func (m *Request) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Request) ProtoMessage() {}
|
|
|
|
|
|
|
|
type Response struct {
|
2015-05-09 02:42:07 +03:00
|
|
|
Msg string `protobuf:"bytes,1,opt,name=msg" json:"msg,omitempty"`
|
2015-01-14 02:31:27 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Response) Reset() { *m = Response{} }
|
|
|
|
func (m *Response) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Response) ProtoMessage() {}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
}
|