Documentation ¶
Index ¶
- func CheckSuccessfulResponse(proposalResponse *peer.ProposalResponse) error
- func NewProposal(id identity.Identity, chaincodeName string, transactionName string, ...) (*peer.Proposal, error)
- func NewSignedProposal(proposal *peer.Proposal, signer identity.Signer) (*peer.SignedProposal, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckSuccessfulResponse ¶
func CheckSuccessfulResponse(proposalResponse *peer.ProposalResponse) error
func NewProposal ¶
func NewSignedProposal ¶
Types ¶
type Option ¶
type Option = func(*builder) error
Option implements an option for a transaction proposal.
func WithArguments ¶
WithArguments appends to the transaction function arguments associated with a transaction proposal.
func WithChannel ¶
WithChannel specifies the name of the channel to which the transaction proposal is directed.
func WithTransient ¶
WithTransient specifies the transient data associated with a transaction proposal. This is usually used in combination with WithEndorsingOrganizations for private data scenarios
func WithType ¶
func WithType(headerType common.HeaderType) Option
Click to show internal directories.
Click to hide internal directories.