1 Star 0 Fork 0

陈文甲/fabric

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
query.pb.go 5.82 KB
一键复制 编辑 原始数据 按行查看 历史
// Code generated by protoc-gen-go.
// source: peer/query.proto
// DO NOT EDIT!
package peer
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
// ChaincodeQueryResponse returns information about each chaincode that pertains
// to a query in lscc.go, such as GetChaincodes (returns all chaincodes
// instantiated on a channel), and GetInstalledChaincodes (returns all chaincodes
// installed on a peer)
type ChaincodeQueryResponse struct {
Chaincodes []*ChaincodeInfo `protobuf:"bytes,1,rep,name=chaincodes" json:"chaincodes,omitempty"`
}
func (m *ChaincodeQueryResponse) Reset() { *m = ChaincodeQueryResponse{} }
func (m *ChaincodeQueryResponse) String() string { return proto.CompactTextString(m) }
func (*ChaincodeQueryResponse) ProtoMessage() {}
func (*ChaincodeQueryResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{0} }
func (m *ChaincodeQueryResponse) GetChaincodes() []*ChaincodeInfo {
if m != nil {
return m.Chaincodes
}
return nil
}
// ChaincodeInfo contains general information about an installed/instantiated
// chaincode
type ChaincodeInfo struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
// the path as specified by the install/instantiate transaction
Path string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"`
// the chaincode function upon instantiation and its arguments. This will be
// blank if the query is returning information about installed chaincodes.
Input string `protobuf:"bytes,4,opt,name=input" json:"input,omitempty"`
// the name of the ESCC for this chaincode. This will be
// blank if the query is returning information about installed chaincodes.
Escc string `protobuf:"bytes,5,opt,name=escc" json:"escc,omitempty"`
// the name of the VSCC for this chaincode. This will be
// blank if the query is returning information about installed chaincodes.
Vscc string `protobuf:"bytes,6,opt,name=vscc" json:"vscc,omitempty"`
}
func (m *ChaincodeInfo) Reset() { *m = ChaincodeInfo{} }
func (m *ChaincodeInfo) String() string { return proto.CompactTextString(m) }
func (*ChaincodeInfo) ProtoMessage() {}
func (*ChaincodeInfo) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{1} }
// ChannelQueryResponse returns information about each channel that pertains
// to a query in lscc.go, such as GetChannels (returns all channels for a
// given peer)
type ChannelQueryResponse struct {
Channels []*ChannelInfo `protobuf:"bytes,1,rep,name=channels" json:"channels,omitempty"`
}
func (m *ChannelQueryResponse) Reset() { *m = ChannelQueryResponse{} }
func (m *ChannelQueryResponse) String() string { return proto.CompactTextString(m) }
func (*ChannelQueryResponse) ProtoMessage() {}
func (*ChannelQueryResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{2} }
func (m *ChannelQueryResponse) GetChannels() []*ChannelInfo {
if m != nil {
return m.Channels
}
return nil
}
// ChannelInfo contains general information about channels
type ChannelInfo struct {
ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId" json:"channel_id,omitempty"`
}
func (m *ChannelInfo) Reset() { *m = ChannelInfo{} }
func (m *ChannelInfo) String() string { return proto.CompactTextString(m) }
func (*ChannelInfo) ProtoMessage() {}
func (*ChannelInfo) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{3} }
func init() {
proto.RegisterType((*ChaincodeQueryResponse)(nil), "protos.ChaincodeQueryResponse")
proto.RegisterType((*ChaincodeInfo)(nil), "protos.ChaincodeInfo")
proto.RegisterType((*ChannelQueryResponse)(nil), "protos.ChannelQueryResponse")
proto.RegisterType((*ChannelInfo)(nil), "protos.ChannelInfo")
}
func init() { proto.RegisterFile("peer/query.proto", fileDescriptor9) }
var fileDescriptor9 = []byte{
// 284 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x54, 0x91, 0xdf, 0x4a, 0xc3, 0x30,
0x14, 0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, 0xef, 0xbe, 0x57, 0x8f, 0x78, 0x28, 0x77, 0x96,
0xd2, 0x17, 0x98, 0xf6, 0x02, 0xf6, 0x14, 0x2e, 0x88, 0xd6, 0x1f, 0x55, 0x9e, 0xda, 0x4d, 0x4e,
0x64, 0x55, 0x7e, 0xac, 0x21, 0x35, 0xae, 0xca, 0xea, 0xa3, 0x45, 0xb7, 0xc3, 0xb2, 0x42, 0x97,
0x6d, 0xf3, 0xc2, 0x29, 0xd9, 0xfd, 0x84, 0xde, 0xe4, 0xfb, 0xb9, 0x52, 0x4d, 0xdd, 0x16, 0x99,
0x34, 0x7b, 0xd1, 0x53, 0x45, 0x54, 0x45, 0x54, 0x05, 0xa9, 0x45, 0x7c, 0xb2, 0xb7, 0xff, 0x00,
0x00, 0x00, 0xff, 0xff, 0x56, 0xd1, 0xfe, 0x74, 0xcd, 0x01, 0x00, 0x00,
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/venjia/fabric.git
git@gitee.com:venjia/fabric.git
venjia
fabric
fabric
v1.0.0-alpha2

搜索帮助