Documentation ¶
Index ¶
- type BatchResponseBuilder
- type ChaincodeActionBuilder
- func (b *ChaincodeActionBuilder) Build() *peer.ChaincodeAction
- func (b *ChaincodeActionBuilder) Marshal() []byte
- func (b *ChaincodeActionBuilder) SetChaincodeID(chaincodeID *peer.ChaincodeID) *ChaincodeActionBuilder
- func (b *ChaincodeActionBuilder) SetEvents(events []byte) *ChaincodeActionBuilder
- func (b *ChaincodeActionBuilder) SetResponse(response *peer.Response) *ChaincodeActionBuilder
- func (b *ChaincodeActionBuilder) SetResults(results *rwset.TxReadWriteSet) *ChaincodeActionBuilder
- type ChaincodeActionPayloadBuilder
- func (b *ChaincodeActionPayloadBuilder) Build() *peer.ChaincodeActionPayload
- func (b *ChaincodeActionPayloadBuilder) SetChaincodeProposalPayload(inputPayload *peer.ChaincodeProposalPayload) *ChaincodeActionPayloadBuilder
- func (b *ChaincodeActionPayloadBuilder) SetEndorsedAction(endorsedAction *peer.ChaincodeEndorsedAction) *ChaincodeActionPayloadBuilder
- type ChaincodeEndorsedActionBuilder
- func (b *ChaincodeEndorsedActionBuilder) AddEndorsement(signature, endorser []byte) *ChaincodeEndorsedActionBuilder
- func (b *ChaincodeEndorsedActionBuilder) Build() *peer.ChaincodeEndorsedAction
- func (b *ChaincodeEndorsedActionBuilder) SetProposalResponsePayload(proposalHash []byte, extension []byte) *ChaincodeEndorsedActionBuilder
- type ChaincodeInvocationSpecBuilder
- type EnvelopeBuilder
- func (b *EnvelopeBuilder) Build() *common.Envelope
- func (b *EnvelopeBuilder) SetChannelHeader(channelHeader *common.ChannelHeader) *EnvelopeBuilder
- func (b *EnvelopeBuilder) SetData(transaction *peer.Transaction) *EnvelopeBuilder
- func (b *EnvelopeBuilder) SetSignature(signature []byte) *EnvelopeBuilder
- func (b *EnvelopeBuilder) SetSignatureHeader(signatureHeader *common.SignatureHeader) *EnvelopeBuilder
- type TransactionBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchResponseBuilder ¶
type BatchResponseBuilder struct {
// contains filtered or unexported fields
}
func NewBatchResponseBuilder ¶
func NewBatchResponseBuilder() *BatchResponseBuilder
func (*BatchResponseBuilder) AddTxResponse ¶
func (b *BatchResponseBuilder) AddTxResponse(txResponse *fpb.TxResponse) *BatchResponseBuilder
func (*BatchResponseBuilder) Build ¶
func (b *BatchResponseBuilder) Build() *fpb.BatchResponse
func (*BatchResponseBuilder) Marshal ¶
func (b *BatchResponseBuilder) Marshal() []byte
type ChaincodeActionBuilder ¶
type ChaincodeActionBuilder struct {
// contains filtered or unexported fields
}
func NewChaincodeActionBuilder ¶
func NewChaincodeActionBuilder() *ChaincodeActionBuilder
func (*ChaincodeActionBuilder) Build ¶
func (b *ChaincodeActionBuilder) Build() *peer.ChaincodeAction
func (*ChaincodeActionBuilder) Marshal ¶
func (b *ChaincodeActionBuilder) Marshal() []byte
func (*ChaincodeActionBuilder) SetChaincodeID ¶
func (b *ChaincodeActionBuilder) SetChaincodeID(chaincodeID *peer.ChaincodeID) *ChaincodeActionBuilder
func (*ChaincodeActionBuilder) SetEvents ¶
func (b *ChaincodeActionBuilder) SetEvents(events []byte) *ChaincodeActionBuilder
func (*ChaincodeActionBuilder) SetResponse ¶
func (b *ChaincodeActionBuilder) SetResponse(response *peer.Response) *ChaincodeActionBuilder
func (*ChaincodeActionBuilder) SetResults ¶
func (b *ChaincodeActionBuilder) SetResults(results *rwset.TxReadWriteSet) *ChaincodeActionBuilder
type ChaincodeActionPayloadBuilder ¶
type ChaincodeActionPayloadBuilder struct {
// contains filtered or unexported fields
}
func NewChaincodeActionPayloadBuilder ¶
func NewChaincodeActionPayloadBuilder() *ChaincodeActionPayloadBuilder
func (*ChaincodeActionPayloadBuilder) Build ¶
func (b *ChaincodeActionPayloadBuilder) Build() *peer.ChaincodeActionPayload
func (*ChaincodeActionPayloadBuilder) SetChaincodeProposalPayload ¶
func (b *ChaincodeActionPayloadBuilder) SetChaincodeProposalPayload(inputPayload *peer.ChaincodeProposalPayload) *ChaincodeActionPayloadBuilder
func (*ChaincodeActionPayloadBuilder) SetEndorsedAction ¶
func (b *ChaincodeActionPayloadBuilder) SetEndorsedAction(endorsedAction *peer.ChaincodeEndorsedAction) *ChaincodeActionPayloadBuilder
type ChaincodeEndorsedActionBuilder ¶
type ChaincodeEndorsedActionBuilder struct {
// contains filtered or unexported fields
}
func NewChaincodeEndorsedActionBuilder ¶
func NewChaincodeEndorsedActionBuilder() *ChaincodeEndorsedActionBuilder
func (*ChaincodeEndorsedActionBuilder) AddEndorsement ¶
func (b *ChaincodeEndorsedActionBuilder) AddEndorsement(signature, endorser []byte) *ChaincodeEndorsedActionBuilder
func (*ChaincodeEndorsedActionBuilder) Build ¶
func (b *ChaincodeEndorsedActionBuilder) Build() *peer.ChaincodeEndorsedAction
func (*ChaincodeEndorsedActionBuilder) SetProposalResponsePayload ¶
func (b *ChaincodeEndorsedActionBuilder) SetProposalResponsePayload(proposalHash []byte, extension []byte) *ChaincodeEndorsedActionBuilder
type ChaincodeInvocationSpecBuilder ¶
type ChaincodeInvocationSpecBuilder struct {
// contains filtered or unexported fields
}
func NewChaincodeInvocationSpecBuilder ¶
func NewChaincodeInvocationSpecBuilder() *ChaincodeInvocationSpecBuilder
func (*ChaincodeInvocationSpecBuilder) Build ¶
func (b *ChaincodeInvocationSpecBuilder) Build() *peer.ChaincodeInvocationSpec
func (*ChaincodeInvocationSpecBuilder) Marshal ¶
func (b *ChaincodeInvocationSpecBuilder) Marshal() []byte
func (*ChaincodeInvocationSpecBuilder) SetChaincodeSpec ¶
func (b *ChaincodeInvocationSpecBuilder) SetChaincodeSpec(spec *peer.ChaincodeSpec) *ChaincodeInvocationSpecBuilder
type EnvelopeBuilder ¶
type EnvelopeBuilder struct {
// contains filtered or unexported fields
}
func NewEnvelopeBuilder ¶
func NewEnvelopeBuilder() *EnvelopeBuilder
func (*EnvelopeBuilder) Build ¶
func (b *EnvelopeBuilder) Build() *common.Envelope
func (*EnvelopeBuilder) SetChannelHeader ¶
func (b *EnvelopeBuilder) SetChannelHeader(channelHeader *common.ChannelHeader) *EnvelopeBuilder
func (*EnvelopeBuilder) SetData ¶
func (b *EnvelopeBuilder) SetData(transaction *peer.Transaction) *EnvelopeBuilder
func (*EnvelopeBuilder) SetSignature ¶
func (b *EnvelopeBuilder) SetSignature(signature []byte) *EnvelopeBuilder
func (*EnvelopeBuilder) SetSignatureHeader ¶
func (b *EnvelopeBuilder) SetSignatureHeader(signatureHeader *common.SignatureHeader) *EnvelopeBuilder
type TransactionBuilder ¶
type TransactionBuilder struct {
// contains filtered or unexported fields
}
func NewTransactionBuilder ¶
func NewTransactionBuilder() *TransactionBuilder
func (*TransactionBuilder) AddAction ¶
func (b *TransactionBuilder) AddAction(header []byte, payload *peer.ChaincodeActionPayload) *TransactionBuilder
func (*TransactionBuilder) Build ¶
func (b *TransactionBuilder) Build() *peer.Transaction
func (*TransactionBuilder) Marshal ¶
func (b *TransactionBuilder) Marshal() []byte
Click to show internal directories.
Click to hide internal directories.