67 lines
1.9 KiB
Go
Raw Normal View History

2015-01-14 10:50:54 +00:00
// Code generated by protoc-gen-go.
2015-05-25 18:16:42 +01:00
// source: go-micro/examples/server/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:
2015-05-25 18:16:42 +01:00
go-micro/examples/server/proto/example/example.proto
2015-05-05 19:05:06 +01:00
It has these top-level messages:
Message
2015-05-05 19:05:06 +01:00
Request
Response
StreamingRequest
StreamingResponse
2015-05-05 19:05:06 +01:00
*/
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 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-13 23:31:27 +00:00
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() {}
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-13 23:31:27 +00:00
func init() {
}