micro/examples/server/proto/example/example.pb.go

67 lines
1.9 KiB
Go
Raw Normal View History

2015-01-14 13:50:54 +03:00
// Code generated by protoc-gen-go.
2015-05-25 20:16:42 +03:00
// source: go-micro/examples/server/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:
2015-05-25 20:16:42 +03:00
go-micro/examples/server/proto/example/example.proto
2015-05-05 21:05:06 +03:00
It has these top-level messages:
Message
2015-05-05 21:05:06 +03:00
Request
Response
StreamingRequest
StreamingResponse
2015-05-05 21:05:06 +03:00
*/
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 Message struct {
Say string `protobuf:"bytes,1,opt,name=say" json:"say,omitempty"`
}
func (m *Message) Reset() { *m = Message{} }
func (m *Message) String() string { return proto.CompactTextString(m) }
func (*Message) ProtoMessage() {}
2015-01-14 02:31:27 +03:00
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() {}
type StreamingRequest struct {
Count int64 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
}
func (m *StreamingRequest) Reset() { *m = StreamingRequest{} }
func (m *StreamingRequest) String() string { return proto.CompactTextString(m) }
func (*StreamingRequest) ProtoMessage() {}
type StreamingResponse struct {
Count int64 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
}
func (m *StreamingResponse) Reset() { *m = StreamingResponse{} }
func (m *StreamingResponse) String() string { return proto.CompactTextString(m) }
func (*StreamingResponse) ProtoMessage() {}
2015-01-14 02:31:27 +03:00
func init() {
}