micro/template/proto/example/example.pb.go

40 lines
1014 B
Go
Raw Normal View History

2015-01-14 10:50:54 +00:00
// Code generated by protoc-gen-go.
2015-05-05 19:05:06 +01:00
// source: myodc/go-micro/template/proto/example/example.proto
2015-01-13 23:31:27 +00:00
// DO NOT EDIT!
2015-05-05 19:05:06 +01:00
/*
2015-05-09 00:42:07 +01:00
Package example is a generated protocol buffer package.
2015-05-05 19:05:06 +01: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 00:42:07 +01:00
package example
2015-01-13 23:31:27 +00:00
2015-05-05 19:05:06 +01:00
import proto "github.com/golang/protobuf/proto"
2015-01-13 23:31:27 +00:00
2015-05-05 19:05:06 +01:00
// Reference imports to suppress errors if they are not otherwise used.
2015-01-13 23:31:27 +00:00
var _ = proto.Marshal
type Request struct {
2015-05-09 00:42:07 +01:00
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
2015-01-13 23:31:27 +00: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 00:42:07 +01:00
Msg string `protobuf:"bytes,1,opt,name=msg" json:"msg,omitempty"`
2015-01-13 23:31:27 +00:00
}
func (m *Response) Reset() { *m = Response{} }
func (m *Response) String() string { return proto.CompactTextString(m) }
func (*Response) ProtoMessage() {}
func init() {
}