Versions in this module Expand all Collapse all v2 v2.3.1 Jul 26, 2023 Changes in this version + var ErrIntOverflowRequest = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowResponse = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthRequest = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthResponse = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupRequest = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupResponse = fmt.Errorf("proto: unexpected end of group") + type BeginCrossChainRequest struct + CancelInfo *common.CancelInfo + ConfirmInfo *common.ConfirmInfo + CrossChainFlag string + CrossChainId string + CrossChainMsg []*common.CrossChainMsg + CrossChainName string + CrossType common.CrossType + From string + Timeout int64 + TxContent *common.TxContent + Version common.Version + func (*BeginCrossChainRequest) Descriptor() ([]byte, []int) + func (*BeginCrossChainRequest) ProtoMessage() + func (m *BeginCrossChainRequest) GetCancelInfo() *common.CancelInfo + func (m *BeginCrossChainRequest) GetConfirmInfo() *common.ConfirmInfo + func (m *BeginCrossChainRequest) GetCrossChainFlag() string + func (m *BeginCrossChainRequest) GetCrossChainId() string + func (m *BeginCrossChainRequest) GetCrossChainMsg() []*common.CrossChainMsg + func (m *BeginCrossChainRequest) GetCrossChainName() string + func (m *BeginCrossChainRequest) GetCrossType() common.CrossType + func (m *BeginCrossChainRequest) GetFrom() string + func (m *BeginCrossChainRequest) GetTimeout() int64 + func (m *BeginCrossChainRequest) GetTxContent() *common.TxContent + func (m *BeginCrossChainRequest) GetVersion() common.Version + func (m *BeginCrossChainRequest) Marshal() (dAtA []byte, err error) + func (m *BeginCrossChainRequest) MarshalTo(dAtA []byte) (int, error) + func (m *BeginCrossChainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BeginCrossChainRequest) Reset() + func (m *BeginCrossChainRequest) Size() (n int) + func (m *BeginCrossChainRequest) String() string + func (m *BeginCrossChainRequest) Unmarshal(dAtA []byte) error + func (m *BeginCrossChainRequest) XXX_DiscardUnknown() + func (m *BeginCrossChainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BeginCrossChainRequest) XXX_Merge(src proto.Message) + func (m *BeginCrossChainRequest) XXX_Size() int + func (m *BeginCrossChainRequest) XXX_Unmarshal(b []byte) error + type BeginCrossChainResponse struct + Code common.Code + CrossChainId string + Message string + func (*BeginCrossChainResponse) Descriptor() ([]byte, []int) + func (*BeginCrossChainResponse) ProtoMessage() + func (m *BeginCrossChainResponse) GetCode() common.Code + func (m *BeginCrossChainResponse) GetCrossChainId() string + func (m *BeginCrossChainResponse) GetMessage() string + func (m *BeginCrossChainResponse) Marshal() (dAtA []byte, err error) + func (m *BeginCrossChainResponse) MarshalTo(dAtA []byte) (int, error) + func (m *BeginCrossChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BeginCrossChainResponse) Reset() + func (m *BeginCrossChainResponse) Size() (n int) + func (m *BeginCrossChainResponse) String() string + func (m *BeginCrossChainResponse) Unmarshal(dAtA []byte) error + func (m *BeginCrossChainResponse) XXX_DiscardUnknown() + func (m *BeginCrossChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BeginCrossChainResponse) XXX_Merge(src proto.Message) + func (m *BeginCrossChainResponse) XXX_Size() int + func (m *BeginCrossChainResponse) XXX_Unmarshal(b []byte) error + type GatewayRegisterRequest struct + GatewayInfo *common.GatewayInfo + Version common.Version + func (*GatewayRegisterRequest) Descriptor() ([]byte, []int) + func (*GatewayRegisterRequest) ProtoMessage() + func (m *GatewayRegisterRequest) GetGatewayInfo() *common.GatewayInfo + func (m *GatewayRegisterRequest) GetVersion() common.Version + func (m *GatewayRegisterRequest) Marshal() (dAtA []byte, err error) + func (m *GatewayRegisterRequest) MarshalTo(dAtA []byte) (int, error) + func (m *GatewayRegisterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GatewayRegisterRequest) Reset() + func (m *GatewayRegisterRequest) Size() (n int) + func (m *GatewayRegisterRequest) String() string + func (m *GatewayRegisterRequest) Unmarshal(dAtA []byte) error + func (m *GatewayRegisterRequest) XXX_DiscardUnknown() + func (m *GatewayRegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GatewayRegisterRequest) XXX_Merge(src proto.Message) + func (m *GatewayRegisterRequest) XXX_Size() int + func (m *GatewayRegisterRequest) XXX_Unmarshal(b []byte) error + type GatewayRegisterResponse struct + Code common.Code + GatewayId string + Message string + func (*GatewayRegisterResponse) Descriptor() ([]byte, []int) + func (*GatewayRegisterResponse) ProtoMessage() + func (m *GatewayRegisterResponse) GetCode() common.Code + func (m *GatewayRegisterResponse) GetGatewayId() string + func (m *GatewayRegisterResponse) GetMessage() string + func (m *GatewayRegisterResponse) Marshal() (dAtA []byte, err error) + func (m *GatewayRegisterResponse) MarshalTo(dAtA []byte) (int, error) + func (m *GatewayRegisterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GatewayRegisterResponse) Reset() + func (m *GatewayRegisterResponse) Size() (n int) + func (m *GatewayRegisterResponse) String() string + func (m *GatewayRegisterResponse) Unmarshal(dAtA []byte) error + func (m *GatewayRegisterResponse) XXX_DiscardUnknown() + func (m *GatewayRegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GatewayRegisterResponse) XXX_Merge(src proto.Message) + func (m *GatewayRegisterResponse) XXX_Size() int + func (m *GatewayRegisterResponse) XXX_Unmarshal(b []byte) error + type GatewayUpdateRequest struct + GatewayInfo *common.GatewayInfo + Version common.Version + func (*GatewayUpdateRequest) Descriptor() ([]byte, []int) + func (*GatewayUpdateRequest) ProtoMessage() + func (m *GatewayUpdateRequest) GetGatewayInfo() *common.GatewayInfo + func (m *GatewayUpdateRequest) GetVersion() common.Version + func (m *GatewayUpdateRequest) Marshal() (dAtA []byte, err error) + func (m *GatewayUpdateRequest) MarshalTo(dAtA []byte) (int, error) + func (m *GatewayUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GatewayUpdateRequest) Reset() + func (m *GatewayUpdateRequest) Size() (n int) + func (m *GatewayUpdateRequest) String() string + func (m *GatewayUpdateRequest) Unmarshal(dAtA []byte) error + func (m *GatewayUpdateRequest) XXX_DiscardUnknown() + func (m *GatewayUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GatewayUpdateRequest) XXX_Merge(src proto.Message) + func (m *GatewayUpdateRequest) XXX_Size() int + func (m *GatewayUpdateRequest) XXX_Unmarshal(b []byte) error + type GatewayUpdateResponse struct + Code common.Code + GatewayId string + Message string + func (*GatewayUpdateResponse) Descriptor() ([]byte, []int) + func (*GatewayUpdateResponse) ProtoMessage() + func (m *GatewayUpdateResponse) GetCode() common.Code + func (m *GatewayUpdateResponse) GetGatewayId() string + func (m *GatewayUpdateResponse) GetMessage() string + func (m *GatewayUpdateResponse) Marshal() (dAtA []byte, err error) + func (m *GatewayUpdateResponse) MarshalTo(dAtA []byte) (int, error) + func (m *GatewayUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GatewayUpdateResponse) Reset() + func (m *GatewayUpdateResponse) Size() (n int) + func (m *GatewayUpdateResponse) String() string + func (m *GatewayUpdateResponse) Unmarshal(dAtA []byte) error + func (m *GatewayUpdateResponse) XXX_DiscardUnknown() + func (m *GatewayUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GatewayUpdateResponse) XXX_Merge(src proto.Message) + func (m *GatewayUpdateResponse) XXX_Size() int + func (m *GatewayUpdateResponse) XXX_Unmarshal(b []byte) error + type InitContractRequest struct + ByteCode []byte + ChainRid string + ContractName string + ContractVersion string + GatewayId string + KeyValuePairs []*common.ContractKeyValuePair + RuntimeType common.ChainmakerRuntimeType + Version common.Version + func (*InitContractRequest) Descriptor() ([]byte, []int) + func (*InitContractRequest) ProtoMessage() + func (m *InitContractRequest) GetByteCode() []byte + func (m *InitContractRequest) GetChainRid() string + func (m *InitContractRequest) GetContractName() string + func (m *InitContractRequest) GetContractVersion() string + func (m *InitContractRequest) GetGatewayId() string + func (m *InitContractRequest) GetKeyValuePairs() []*common.ContractKeyValuePair + func (m *InitContractRequest) GetRuntimeType() common.ChainmakerRuntimeType + func (m *InitContractRequest) GetVersion() common.Version + func (m *InitContractRequest) Marshal() (dAtA []byte, err error) + func (m *InitContractRequest) MarshalTo(dAtA []byte) (int, error) + func (m *InitContractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *InitContractRequest) Reset() + func (m *InitContractRequest) Size() (n int) + func (m *InitContractRequest) String() string + func (m *InitContractRequest) Unmarshal(dAtA []byte) error + func (m *InitContractRequest) XXX_DiscardUnknown() + func (m *InitContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *InitContractRequest) XXX_Merge(src proto.Message) + func (m *InitContractRequest) XXX_Size() int + func (m *InitContractRequest) XXX_Unmarshal(b []byte) error + type InitContractResponse struct + Code common.Code + Message string + func (*InitContractResponse) Descriptor() ([]byte, []int) + func (*InitContractResponse) ProtoMessage() + func (m *InitContractResponse) GetCode() common.Code + func (m *InitContractResponse) GetMessage() string + func (m *InitContractResponse) Marshal() (dAtA []byte, err error) + func (m *InitContractResponse) MarshalTo(dAtA []byte) (int, error) + func (m *InitContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *InitContractResponse) Reset() + func (m *InitContractResponse) Size() (n int) + func (m *InitContractResponse) String() string + func (m *InitContractResponse) Unmarshal(dAtA []byte) error + func (m *InitContractResponse) XXX_DiscardUnknown() + func (m *InitContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *InitContractResponse) XXX_Merge(src proto.Message) + func (m *InitContractResponse) XXX_Size() int + func (m *InitContractResponse) XXX_Unmarshal(b []byte) error + type QueryCrossChainRequest struct + CrossChainId string + PageNumber uint64 + PageSize uint64 + Version common.Version + func (*QueryCrossChainRequest) Descriptor() ([]byte, []int) + func (*QueryCrossChainRequest) ProtoMessage() + func (m *QueryCrossChainRequest) GetCrossChainId() string + func (m *QueryCrossChainRequest) GetPageNumber() uint64 + func (m *QueryCrossChainRequest) GetPageSize() uint64 + func (m *QueryCrossChainRequest) GetVersion() common.Version + func (m *QueryCrossChainRequest) Marshal() (dAtA []byte, err error) + func (m *QueryCrossChainRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryCrossChainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryCrossChainRequest) Reset() + func (m *QueryCrossChainRequest) Size() (n int) + func (m *QueryCrossChainRequest) String() string + func (m *QueryCrossChainRequest) Unmarshal(dAtA []byte) error + func (m *QueryCrossChainRequest) XXX_DiscardUnknown() + func (m *QueryCrossChainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryCrossChainRequest) XXX_Merge(src proto.Message) + func (m *QueryCrossChainRequest) XXX_Size() int + func (m *QueryCrossChainRequest) XXX_Unmarshal(b []byte) error + type QueryCrossChainResponse struct + Code common.Code + CrossChainInfo []*common.CrossChainInfo + Message string + PageInfo *common.PageInfo + func (*QueryCrossChainResponse) Descriptor() ([]byte, []int) + func (*QueryCrossChainResponse) ProtoMessage() + func (m *QueryCrossChainResponse) GetCode() common.Code + func (m *QueryCrossChainResponse) GetCrossChainInfo() []*common.CrossChainInfo + func (m *QueryCrossChainResponse) GetMessage() string + func (m *QueryCrossChainResponse) GetPageInfo() *common.PageInfo + func (m *QueryCrossChainResponse) Marshal() (dAtA []byte, err error) + func (m *QueryCrossChainResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryCrossChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryCrossChainResponse) Reset() + func (m *QueryCrossChainResponse) Size() (n int) + func (m *QueryCrossChainResponse) String() string + func (m *QueryCrossChainResponse) Unmarshal(dAtA []byte) error + func (m *QueryCrossChainResponse) XXX_DiscardUnknown() + func (m *QueryCrossChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryCrossChainResponse) XXX_Merge(src proto.Message) + func (m *QueryCrossChainResponse) XXX_Size() int + func (m *QueryCrossChainResponse) XXX_Unmarshal(b []byte) error + type QueryGatewayRequest struct + GatewayId string + PageNumber uint64 + PageSize uint64 + Version common.Version + func (*QueryGatewayRequest) Descriptor() ([]byte, []int) + func (*QueryGatewayRequest) ProtoMessage() + func (m *QueryGatewayRequest) GetGatewayId() string + func (m *QueryGatewayRequest) GetPageNumber() uint64 + func (m *QueryGatewayRequest) GetPageSize() uint64 + func (m *QueryGatewayRequest) GetVersion() common.Version + func (m *QueryGatewayRequest) Marshal() (dAtA []byte, err error) + func (m *QueryGatewayRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryGatewayRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryGatewayRequest) Reset() + func (m *QueryGatewayRequest) Size() (n int) + func (m *QueryGatewayRequest) String() string + func (m *QueryGatewayRequest) Unmarshal(dAtA []byte) error + func (m *QueryGatewayRequest) XXX_DiscardUnknown() + func (m *QueryGatewayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryGatewayRequest) XXX_Merge(src proto.Message) + func (m *QueryGatewayRequest) XXX_Size() int + func (m *QueryGatewayRequest) XXX_Unmarshal(b []byte) error + type QueryGatewayResponse struct + Code common.Code + GatewayInfo []*common.GatewayInfo + Message string + PageInfo *common.PageInfo + func (*QueryGatewayResponse) Descriptor() ([]byte, []int) + func (*QueryGatewayResponse) ProtoMessage() + func (m *QueryGatewayResponse) GetCode() common.Code + func (m *QueryGatewayResponse) GetGatewayInfo() []*common.GatewayInfo + func (m *QueryGatewayResponse) GetMessage() string + func (m *QueryGatewayResponse) GetPageInfo() *common.PageInfo + func (m *QueryGatewayResponse) Marshal() (dAtA []byte, err error) + func (m *QueryGatewayResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryGatewayResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryGatewayResponse) Reset() + func (m *QueryGatewayResponse) Size() (n int) + func (m *QueryGatewayResponse) String() string + func (m *QueryGatewayResponse) Unmarshal(dAtA []byte) error + func (m *QueryGatewayResponse) XXX_DiscardUnknown() + func (m *QueryGatewayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryGatewayResponse) XXX_Merge(src proto.Message) + func (m *QueryGatewayResponse) XXX_Size() int + func (m *QueryGatewayResponse) XXX_Unmarshal(b []byte) error + type SyncBlockHeaderRequest struct + BlockHeader []byte + BlockHeight uint64 + ChainRid string + GatewayId string + Version common.Version + func (*SyncBlockHeaderRequest) Descriptor() ([]byte, []int) + func (*SyncBlockHeaderRequest) ProtoMessage() + func (m *SyncBlockHeaderRequest) GetBlockHeader() []byte + func (m *SyncBlockHeaderRequest) GetBlockHeight() uint64 + func (m *SyncBlockHeaderRequest) GetChainRid() string + func (m *SyncBlockHeaderRequest) GetGatewayId() string + func (m *SyncBlockHeaderRequest) GetVersion() common.Version + func (m *SyncBlockHeaderRequest) Marshal() (dAtA []byte, err error) + func (m *SyncBlockHeaderRequest) MarshalTo(dAtA []byte) (int, error) + func (m *SyncBlockHeaderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SyncBlockHeaderRequest) Reset() + func (m *SyncBlockHeaderRequest) Size() (n int) + func (m *SyncBlockHeaderRequest) String() string + func (m *SyncBlockHeaderRequest) Unmarshal(dAtA []byte) error + func (m *SyncBlockHeaderRequest) XXX_DiscardUnknown() + func (m *SyncBlockHeaderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SyncBlockHeaderRequest) XXX_Merge(src proto.Message) + func (m *SyncBlockHeaderRequest) XXX_Size() int + func (m *SyncBlockHeaderRequest) XXX_Unmarshal(b []byte) error + type SyncBlockHeaderResponse struct + Code common.Code + Message string + func (*SyncBlockHeaderResponse) Descriptor() ([]byte, []int) + func (*SyncBlockHeaderResponse) ProtoMessage() + func (m *SyncBlockHeaderResponse) GetCode() common.Code + func (m *SyncBlockHeaderResponse) GetMessage() string + func (m *SyncBlockHeaderResponse) Marshal() (dAtA []byte, err error) + func (m *SyncBlockHeaderResponse) MarshalTo(dAtA []byte) (int, error) + func (m *SyncBlockHeaderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SyncBlockHeaderResponse) Reset() + func (m *SyncBlockHeaderResponse) Size() (n int) + func (m *SyncBlockHeaderResponse) String() string + func (m *SyncBlockHeaderResponse) Unmarshal(dAtA []byte) error + func (m *SyncBlockHeaderResponse) XXX_DiscardUnknown() + func (m *SyncBlockHeaderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SyncBlockHeaderResponse) XXX_Merge(src proto.Message) + func (m *SyncBlockHeaderResponse) XXX_Size() int + func (m *SyncBlockHeaderResponse) XXX_Unmarshal(b []byte) error + type UpdateContractRequest struct + ByteCode []byte + ChainRid string + ContractName string + ContractVersion string + GatewayId string + KeyValuePairs []*common.ContractKeyValuePair + RuntimeType common.ChainmakerRuntimeType + Version common.Version + func (*UpdateContractRequest) Descriptor() ([]byte, []int) + func (*UpdateContractRequest) ProtoMessage() + func (m *UpdateContractRequest) GetByteCode() []byte + func (m *UpdateContractRequest) GetChainRid() string + func (m *UpdateContractRequest) GetContractName() string + func (m *UpdateContractRequest) GetContractVersion() string + func (m *UpdateContractRequest) GetGatewayId() string + func (m *UpdateContractRequest) GetKeyValuePairs() []*common.ContractKeyValuePair + func (m *UpdateContractRequest) GetRuntimeType() common.ChainmakerRuntimeType + func (m *UpdateContractRequest) GetVersion() common.Version + func (m *UpdateContractRequest) Marshal() (dAtA []byte, err error) + func (m *UpdateContractRequest) MarshalTo(dAtA []byte) (int, error) + func (m *UpdateContractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *UpdateContractRequest) Reset() + func (m *UpdateContractRequest) Size() (n int) + func (m *UpdateContractRequest) String() string + func (m *UpdateContractRequest) Unmarshal(dAtA []byte) error + func (m *UpdateContractRequest) XXX_DiscardUnknown() + func (m *UpdateContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UpdateContractRequest) XXX_Merge(src proto.Message) + func (m *UpdateContractRequest) XXX_Size() int + func (m *UpdateContractRequest) XXX_Unmarshal(b []byte) error + type UpdateContractResponse struct + Code common.Code + Message string + func (*UpdateContractResponse) Descriptor() ([]byte, []int) + func (*UpdateContractResponse) ProtoMessage() + func (m *UpdateContractResponse) GetCode() common.Code + func (m *UpdateContractResponse) GetMessage() string + func (m *UpdateContractResponse) Marshal() (dAtA []byte, err error) + func (m *UpdateContractResponse) MarshalTo(dAtA []byte) (int, error) + func (m *UpdateContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *UpdateContractResponse) Reset() + func (m *UpdateContractResponse) Size() (n int) + func (m *UpdateContractResponse) String() string + func (m *UpdateContractResponse) Unmarshal(dAtA []byte) error + func (m *UpdateContractResponse) XXX_DiscardUnknown() + func (m *UpdateContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UpdateContractResponse) XXX_Merge(src proto.Message) + func (m *UpdateContractResponse) XXX_Size() int + func (m *UpdateContractResponse) XXX_Unmarshal(b []byte) error