58 lines
1.6 KiB
Go
58 lines
1.6 KiB
Go
// Code generated by protoc-gen-go.
|
|
// source: go-micro/examples/server/proto/example/example.proto
|
|
// DO NOT EDIT!
|
|
|
|
/*
|
|
Package example is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
go-micro/examples/server/proto/example/example.proto
|
|
|
|
It has these top-level messages:
|
|
Request
|
|
Response
|
|
StreamingRequest
|
|
StreamingResponse
|
|
*/
|
|
package example
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
|
|
type Request struct {
|
|
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
}
|
|
|
|
func (m *Request) Reset() { *m = Request{} }
|
|
func (m *Request) String() string { return proto.CompactTextString(m) }
|
|
func (*Request) ProtoMessage() {}
|
|
|
|
type Response struct {
|
|
Msg string `protobuf:"bytes,1,opt,name=msg" json:"msg,omitempty"`
|
|
}
|
|
|
|
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() {}
|
|
|
|
func init() {
|
|
}
|