208 lines
		
	
	
		
			7.7 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			208 lines
		
	
	
		
			7.7 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Code generated by protoc-gen-go. DO NOT EDIT.
 | |
| // source: github.com/micro/go-micro/v2/server/proto/server.proto
 | |
| 
 | |
| package go_micro_server
 | |
| 
 | |
| import (
 | |
| 	fmt "fmt"
 | |
| 	proto "github.com/golang/protobuf/proto"
 | |
| 	math "math"
 | |
| )
 | |
| 
 | |
| // Reference imports to suppress errors if they are not otherwise used.
 | |
| var _ = proto.Marshal
 | |
| var _ = fmt.Errorf
 | |
| var _ = math.Inf
 | |
| 
 | |
| // This is a compile-time assertion to ensure that this generated file
 | |
| // is compatible with the proto package it is being compiled against.
 | |
| // A compilation error at this line likely means your copy of the
 | |
| // proto package needs to be updated.
 | |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 | |
| 
 | |
| type HandleRequest struct {
 | |
| 	Service              string   `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
 | |
| 	Endpoint             string   `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
 | |
| 	Protocol             string   `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
 | |
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"`
 | |
| 	XXX_unrecognized     []byte   `json:"-"`
 | |
| 	XXX_sizecache        int32    `json:"-"`
 | |
| }
 | |
| 
 | |
| func (m *HandleRequest) Reset()         { *m = HandleRequest{} }
 | |
| func (m *HandleRequest) String() string { return proto.CompactTextString(m) }
 | |
| func (*HandleRequest) ProtoMessage()    {}
 | |
| func (*HandleRequest) Descriptor() ([]byte, []int) {
 | |
| 	return fileDescriptor_4cb0c66620400ff8, []int{0}
 | |
| }
 | |
| 
 | |
| func (m *HandleRequest) XXX_Unmarshal(b []byte) error {
 | |
| 	return xxx_messageInfo_HandleRequest.Unmarshal(m, b)
 | |
| }
 | |
| func (m *HandleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
 | |
| 	return xxx_messageInfo_HandleRequest.Marshal(b, m, deterministic)
 | |
| }
 | |
| func (m *HandleRequest) XXX_Merge(src proto.Message) {
 | |
| 	xxx_messageInfo_HandleRequest.Merge(m, src)
 | |
| }
 | |
| func (m *HandleRequest) XXX_Size() int {
 | |
| 	return xxx_messageInfo_HandleRequest.Size(m)
 | |
| }
 | |
| func (m *HandleRequest) XXX_DiscardUnknown() {
 | |
| 	xxx_messageInfo_HandleRequest.DiscardUnknown(m)
 | |
| }
 | |
| 
 | |
| var xxx_messageInfo_HandleRequest proto.InternalMessageInfo
 | |
| 
 | |
| func (m *HandleRequest) GetService() string {
 | |
| 	if m != nil {
 | |
| 		return m.Service
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (m *HandleRequest) GetEndpoint() string {
 | |
| 	if m != nil {
 | |
| 		return m.Endpoint
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (m *HandleRequest) GetProtocol() string {
 | |
| 	if m != nil {
 | |
| 		return m.Protocol
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| type HandleResponse struct {
 | |
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"`
 | |
| 	XXX_unrecognized     []byte   `json:"-"`
 | |
| 	XXX_sizecache        int32    `json:"-"`
 | |
| }
 | |
| 
 | |
| func (m *HandleResponse) Reset()         { *m = HandleResponse{} }
 | |
| func (m *HandleResponse) String() string { return proto.CompactTextString(m) }
 | |
| func (*HandleResponse) ProtoMessage()    {}
 | |
| func (*HandleResponse) Descriptor() ([]byte, []int) {
 | |
| 	return fileDescriptor_4cb0c66620400ff8, []int{1}
 | |
| }
 | |
| 
 | |
| func (m *HandleResponse) XXX_Unmarshal(b []byte) error {
 | |
| 	return xxx_messageInfo_HandleResponse.Unmarshal(m, b)
 | |
| }
 | |
| func (m *HandleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
 | |
| 	return xxx_messageInfo_HandleResponse.Marshal(b, m, deterministic)
 | |
| }
 | |
| func (m *HandleResponse) XXX_Merge(src proto.Message) {
 | |
| 	xxx_messageInfo_HandleResponse.Merge(m, src)
 | |
| }
 | |
| func (m *HandleResponse) XXX_Size() int {
 | |
| 	return xxx_messageInfo_HandleResponse.Size(m)
 | |
| }
 | |
| func (m *HandleResponse) XXX_DiscardUnknown() {
 | |
| 	xxx_messageInfo_HandleResponse.DiscardUnknown(m)
 | |
| }
 | |
| 
 | |
| var xxx_messageInfo_HandleResponse proto.InternalMessageInfo
 | |
| 
 | |
| type SubscribeRequest struct {
 | |
| 	Topic                string   `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
 | |
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"`
 | |
| 	XXX_unrecognized     []byte   `json:"-"`
 | |
| 	XXX_sizecache        int32    `json:"-"`
 | |
| }
 | |
| 
 | |
| func (m *SubscribeRequest) Reset()         { *m = SubscribeRequest{} }
 | |
| func (m *SubscribeRequest) String() string { return proto.CompactTextString(m) }
 | |
| func (*SubscribeRequest) ProtoMessage()    {}
 | |
| func (*SubscribeRequest) Descriptor() ([]byte, []int) {
 | |
| 	return fileDescriptor_4cb0c66620400ff8, []int{2}
 | |
| }
 | |
| 
 | |
| func (m *SubscribeRequest) XXX_Unmarshal(b []byte) error {
 | |
| 	return xxx_messageInfo_SubscribeRequest.Unmarshal(m, b)
 | |
| }
 | |
| func (m *SubscribeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
 | |
| 	return xxx_messageInfo_SubscribeRequest.Marshal(b, m, deterministic)
 | |
| }
 | |
| func (m *SubscribeRequest) XXX_Merge(src proto.Message) {
 | |
| 	xxx_messageInfo_SubscribeRequest.Merge(m, src)
 | |
| }
 | |
| func (m *SubscribeRequest) XXX_Size() int {
 | |
| 	return xxx_messageInfo_SubscribeRequest.Size(m)
 | |
| }
 | |
| func (m *SubscribeRequest) XXX_DiscardUnknown() {
 | |
| 	xxx_messageInfo_SubscribeRequest.DiscardUnknown(m)
 | |
| }
 | |
| 
 | |
| var xxx_messageInfo_SubscribeRequest proto.InternalMessageInfo
 | |
| 
 | |
| func (m *SubscribeRequest) GetTopic() string {
 | |
| 	if m != nil {
 | |
| 		return m.Topic
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| type SubscribeResponse struct {
 | |
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"`
 | |
| 	XXX_unrecognized     []byte   `json:"-"`
 | |
| 	XXX_sizecache        int32    `json:"-"`
 | |
| }
 | |
| 
 | |
| func (m *SubscribeResponse) Reset()         { *m = SubscribeResponse{} }
 | |
| func (m *SubscribeResponse) String() string { return proto.CompactTextString(m) }
 | |
| func (*SubscribeResponse) ProtoMessage()    {}
 | |
| func (*SubscribeResponse) Descriptor() ([]byte, []int) {
 | |
| 	return fileDescriptor_4cb0c66620400ff8, []int{3}
 | |
| }
 | |
| 
 | |
| func (m *SubscribeResponse) XXX_Unmarshal(b []byte) error {
 | |
| 	return xxx_messageInfo_SubscribeResponse.Unmarshal(m, b)
 | |
| }
 | |
| func (m *SubscribeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
 | |
| 	return xxx_messageInfo_SubscribeResponse.Marshal(b, m, deterministic)
 | |
| }
 | |
| func (m *SubscribeResponse) XXX_Merge(src proto.Message) {
 | |
| 	xxx_messageInfo_SubscribeResponse.Merge(m, src)
 | |
| }
 | |
| func (m *SubscribeResponse) XXX_Size() int {
 | |
| 	return xxx_messageInfo_SubscribeResponse.Size(m)
 | |
| }
 | |
| func (m *SubscribeResponse) XXX_DiscardUnknown() {
 | |
| 	xxx_messageInfo_SubscribeResponse.DiscardUnknown(m)
 | |
| }
 | |
| 
 | |
| var xxx_messageInfo_SubscribeResponse proto.InternalMessageInfo
 | |
| 
 | |
| func init() {
 | |
| 	proto.RegisterType((*HandleRequest)(nil), "go.micro.server.HandleRequest")
 | |
| 	proto.RegisterType((*HandleResponse)(nil), "go.micro.server.HandleResponse")
 | |
| 	proto.RegisterType((*SubscribeRequest)(nil), "go.micro.server.SubscribeRequest")
 | |
| 	proto.RegisterType((*SubscribeResponse)(nil), "go.micro.server.SubscribeResponse")
 | |
| }
 | |
| 
 | |
| func init() {
 | |
| 	proto.RegisterFile("github.com/micro/go-micro/v2/server/proto/server.proto", fileDescriptor_4cb0c66620400ff8)
 | |
| }
 | |
| 
 | |
| var fileDescriptor_4cb0c66620400ff8 = []byte{
 | |
| 	// 236 bytes of a gzipped FileDescriptorProto
 | |
| 	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcd, 0x4e, 0x03, 0x21,
 | |
| 	0x14, 0x85, 0x1d, 0x8d, 0xa3, 0xbd, 0x89, 0x5a, 0xd1, 0x05, 0x99, 0x85, 0x3f, 0xac, 0xba, 0x91,
 | |
| 	0x49, 0xec, 0x4b, 0x98, 0xb8, 0x6b, 0x7d, 0x81, 0x42, 0x6f, 0x46, 0x92, 0x96, 0x8b, 0xc0, 0xf8,
 | |
| 	0x52, 0xbe, 0xa4, 0x29, 0x94, 0x89, 0x8e, 0xb1, 0x3b, 0x3e, 0xce, 0xe1, 0x9e, 0x73, 0x81, 0x79,
 | |
| 	0x67, 0xe2, 0x7b, 0xaf, 0xa4, 0xa6, 0x6d, 0xbb, 0x35, 0xda, 0x53, 0xdb, 0xd1, 0x53, 0x3e, 0x04,
 | |
| 	0xf4, 0x9f, 0xe8, 0x5b, 0xe7, 0x29, 0x16, 0x90, 0x09, 0xd8, 0x55, 0x47, 0x32, 0x79, 0x64, 0xbe,
 | |
| 	0x16, 0x2b, 0xb8, 0x78, 0x59, 0xd9, 0xf5, 0x06, 0x17, 0xf8, 0xd1, 0x63, 0x88, 0x8c, 0xc3, 0xd9,
 | |
| 	0x4e, 0x32, 0x1a, 0x79, 0xf5, 0x50, 0xcd, 0x26, 0x8b,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