2 Star 0 Fork 0

MixerJ / pitaya

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
cluster.pb.go 4.87 KB
一键复制 编辑 原始数据 按行查看 历史
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: cluster.proto
package protos
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import 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.ProtoPackageIsVersion2 // please upgrade the proto package
// RPCMsg message to be sent using rpc
type RPCMsg struct {
Msg string `protobuf:"bytes,1,opt,name=Msg,proto3" json:"Msg,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RPCMsg) Reset() { *m = RPCMsg{} }
func (m *RPCMsg) String() string { return proto.CompactTextString(m) }
func (*RPCMsg) ProtoMessage() {}
func (*RPCMsg) Descriptor() ([]byte, []int) {
return fileDescriptor_cluster_0697fcb87f203f0f, []int{0}
}
func (m *RPCMsg) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RPCMsg.Unmarshal(m, b)
}
func (m *RPCMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RPCMsg.Marshal(b, m, deterministic)
}
func (dst *RPCMsg) XXX_Merge(src proto.Message) {
xxx_messageInfo_RPCMsg.Merge(dst, src)
}
func (m *RPCMsg) XXX_Size() int {
return xxx_messageInfo_RPCMsg.Size(m)
}
func (m *RPCMsg) XXX_DiscardUnknown() {
xxx_messageInfo_RPCMsg.DiscardUnknown(m)
}
var xxx_messageInfo_RPCMsg proto.InternalMessageInfo
func (m *RPCMsg) GetMsg() string {
if m != nil {
return m.Msg
}
return ""
}
// RPCRes is the rpc response
type RPCRes struct {
Msg string `protobuf:"bytes,1,opt,name=Msg,proto3" json:"Msg,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RPCRes) Reset() { *m = RPCRes{} }
func (m *RPCRes) String() string { return proto.CompactTextString(m) }
func (*RPCRes) ProtoMessage() {}
func (*RPCRes) Descriptor() ([]byte, []int) {
return fileDescriptor_cluster_0697fcb87f203f0f, []int{1}
}
func (m *RPCRes) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RPCRes.Unmarshal(m, b)
}
func (m *RPCRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RPCRes.Marshal(b, m, deterministic)
}
func (dst *RPCRes) XXX_Merge(src proto.Message) {
xxx_messageInfo_RPCRes.Merge(dst, src)
}
func (m *RPCRes) XXX_Size() int {
return xxx_messageInfo_RPCRes.Size(m)
}
func (m *RPCRes) XXX_DiscardUnknown() {
xxx_messageInfo_RPCRes.DiscardUnknown(m)
}
var xxx_messageInfo_RPCRes proto.InternalMessageInfo
func (m *RPCRes) GetMsg() string {
if m != nil {
return m.Msg
}
return ""
}
type Doc struct {
Doc string `protobuf:"bytes,1,opt,name=doc,proto3" json:"doc,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Doc) Reset() { *m = Doc{} }
func (m *Doc) String() string { return proto.CompactTextString(m) }
func (*Doc) ProtoMessage() {}
func (*Doc) Descriptor() ([]byte, []int) {
return fileDescriptor_cluster_0697fcb87f203f0f, []int{2}
}
func (m *Doc) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Doc.Unmarshal(m, b)
}
func (m *Doc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Doc.Marshal(b, m, deterministic)
}
func (dst *Doc) XXX_Merge(src proto.Message) {
xxx_messageInfo_Doc.Merge(dst, src)
}
func (m *Doc) XXX_Size() int {
return xxx_messageInfo_Doc.Size(m)
}
func (m *Doc) XXX_DiscardUnknown() {
xxx_messageInfo_Doc.DiscardUnknown(m)
}
var xxx_messageInfo_Doc proto.InternalMessageInfo
func (m *Doc) GetDoc() string {
if m != nil {
return m.Doc
}
return ""
}
func init() {
proto.RegisterType((*RPCMsg)(nil), "protos.RPCMsg")
proto.RegisterType((*RPCRes)(nil), "protos.RPCRes")
proto.RegisterType((*Doc)(nil), "protos.Doc")
}
func init() { proto.RegisterFile("cluster.proto", fileDescriptor_cluster_0697fcb87f203f0f) }
var fileDescriptor_cluster_0697fcb87f203f0f = []byte{
// 96 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4d, 0xce, 0x29, 0x2d,
0x2e, 0x49, 0x2d, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x03, 0x53, 0xc5, 0x4a, 0x52,
0x5c, 0x6c, 0x41, 0x01, 0xce, 0xbe, 0xc5, 0xe9, 0x42, 0x02, 0x5c, 0xcc, 0xbe, 0xc5, 0xe9, 0x12,
0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x20, 0x26, 0x54, 0x2e, 0x28, 0xb5, 0x18, 0x8b, 0x9c, 0x38,
0x17, 0xb3, 0x4b, 0x7e, 0x32, 0x48, 0x22, 0x25, 0x3f, 0x19, 0x26, 0x91, 0x92, 0x9f, 0x9c, 0x04,
0x31, 0xd8, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x52, 0x62, 0xe3, 0xb2, 0x70, 0x00, 0x00, 0x00,
}
Go
1
https://gitee.com/mixerj/pitaya.git
git@gitee.com:mixerj/pitaya.git
mixerj
pitaya
pitaya
4e7898a663a6

搜索帮助