43 Star 147 Fork 48

梁大帅 / mqant

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
rpc.pb.go 5.27 KB
一键复制 编辑 原始数据 按行查看 历史
liangdas 提交于 2017-09-30 10:47 . =gofmt
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: rpc/rpc.proto
/*
Package rpcpb is a generated protocol buffer package.
It is generated from these files:
rpc/rpc.proto
It has these top-level messages:
RPCInfo
ResultInfo
*/
package rpcpb
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
type RPCInfo struct {
Cid string `protobuf:"bytes,1,opt,name=Cid" json:"Cid,omitempty"`
Fn string `protobuf:"bytes,2,opt,name=Fn" json:"Fn,omitempty"`
ReplyTo string `protobuf:"bytes,3,opt,name=ReplyTo" json:"ReplyTo,omitempty"`
Track string `protobuf:"bytes,4,opt,name=track" json:"track,omitempty"`
Expired int64 `protobuf:"varint,5,opt,name=Expired" json:"Expired,omitempty"`
Reply bool `protobuf:"varint,6,opt,name=Reply" json:"Reply,omitempty"`
ArgsType []string `protobuf:"bytes,7,rep,name=ArgsType" json:"ArgsType,omitempty"`
Args [][]byte `protobuf:"bytes,8,rep,name=Args,proto3" json:"Args,omitempty"`
}
func (m *RPCInfo) Reset() { *m = RPCInfo{} }
func (m *RPCInfo) String() string { return proto.CompactTextString(m) }
func (*RPCInfo) ProtoMessage() {}
func (*RPCInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *RPCInfo) GetCid() string {
if m != nil {
return m.Cid
}
return ""
}
func (m *RPCInfo) GetFn() string {
if m != nil {
return m.Fn
}
return ""
}
func (m *RPCInfo) GetReplyTo() string {
if m != nil {
return m.ReplyTo
}
return ""
}
func (m *RPCInfo) GetTrack() string {
if m != nil {
return m.Track
}
return ""
}
func (m *RPCInfo) GetExpired() int64 {
if m != nil {
return m.Expired
}
return 0
}
func (m *RPCInfo) GetReply() bool {
if m != nil {
return m.Reply
}
return false
}
func (m *RPCInfo) GetArgsType() []string {
if m != nil {
return m.ArgsType
}
return nil
}
func (m *RPCInfo) GetArgs() [][]byte {
if m != nil {
return m.Args
}
return nil
}
type ResultInfo struct {
Cid string `protobuf:"bytes,1,opt,name=Cid" json:"Cid,omitempty"`
Error string `protobuf:"bytes,2,opt,name=Error" json:"Error,omitempty"`
ResultType string `protobuf:"bytes,4,opt,name=ResultType" json:"ResultType,omitempty"`
Result []byte `protobuf:"bytes,5,opt,name=Result,proto3" json:"Result,omitempty"`
}
func NewResultInfo(Cid string, Error string, ArgsType string, result []byte) *ResultInfo {
resultInfo := &ResultInfo{
Cid: *proto.String(Cid),
Error: *proto.String(Error),
ResultType: *proto.String(ArgsType),
Result: result,
}
return resultInfo
}
func (m *ResultInfo) Reset() { *m = ResultInfo{} }
func (m *ResultInfo) String() string { return proto.CompactTextString(m) }
func (*ResultInfo) ProtoMessage() {}
func (*ResultInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *ResultInfo) GetCid() string {
if m != nil {
return m.Cid
}
return ""
}
func (m *ResultInfo) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *ResultInfo) GetResultType() string {
if m != nil {
return m.ResultType
}
return ""
}
func (m *ResultInfo) GetResult() []byte {
if m != nil {
return m.Result
}
return nil
}
func init() {
proto.RegisterType((*RPCInfo)(nil), "rpcpb.RPCInfo")
proto.RegisterType((*ResultInfo)(nil), "rpcpb.ResultInfo")
}
func init() { proto.RegisterFile("rpc/rpc.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 230 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 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04, 0x19,
0xbf, 0x90, 0x00, 0xef, 0xa7, 0x2d, 0x7d, 0x27, 0x15, 0xfe, 0x67, 0xf0, 0x16, 0x8a, 0x44, 0x5a,
0x7a, 0xc1, 0x23, 0xed, 0x0b, 0xbd, 0xdc, 0xd3, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2f, 0x95,
0xb9, 0x9e, 0x4a, 0x01, 0x00, 0x00,
}
Go
1
https://gitee.com/liangdas/mqant.git
git@gitee.com:liangdas/mqant.git
liangdas
mqant
mqant
v1.6.7

搜索帮助