Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClaimConditionalFundsOption ¶
type ClaimConditionalFundsOption func(options *ClaimConditionalFundsOptions) error
ClaimConditionalFundsOption is a function that provides options.
func AccessManaPledgeID ¶
func AccessManaPledgeID(nodeID string) ClaimConditionalFundsOption
AccessManaPledgeID is an option for ClaimConditionalFunds call that defines the nodeID to pledge access mana to.
func ConsensusManaPledgeID ¶
func ConsensusManaPledgeID(nodeID string) ClaimConditionalFundsOption
ConsensusManaPledgeID is an option for ClaimConditionalFunds call that defines the nodeID to pledge consensus mana to.
func WaitForConfirmation ¶
func WaitForConfirmation(wait bool) ClaimConditionalFundsOption
WaitForConfirmation is an optional parameter to define if the ClaimConditionalFunds command should wait for confirmation before it returns.
type ClaimConditionalFundsOptions ¶
type ClaimConditionalFundsOptions struct { AccessManaPledgeID string ConsensusManaPledgeID string WaitForConfirmation bool }
ClaimConditionalFundsOptions is a struct that is used to aggregate the optional parameters in the claimConditionalFunds call.
func Build ¶
func Build(options ...ClaimConditionalFundsOption) (result *ClaimConditionalFundsOptions, err error)
Build builds the options.
Click to show internal directories.
Click to hide internal directories.