Documentation ¶
Index ¶
Constants ¶
View Source
const ( FsmName = "signature_proposal_fsm" StateParticipantsConfirmationsInit = fsm.StateGlobalIdle StateAwaitParticipantsConfirmations = fsm.State("state_sig_proposal_await_participants_confirmations") // waiting participants StateValidationCanceledByParticipant = fsm.State("state_sig_proposal_canceled_by_participant") StateValidationCanceledByTimeout = fsm.State("state_sig_proposal_canceled_by_timeout") EventInitProposal = fsm.Event("event_sig_proposal_init") EventConfirmSignatureProposal = fsm.Event("event_sig_proposal_confirm_by_participant") EventDeclineProposal = fsm.Event("event_sig_proposal_decline_by_participant") StateSignatureProposalCollected = fsm.State("state_sig_proposal_collected") )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() internal.DumpedMachineProvider
Types ¶
type SignatureProposalFSM ¶
func (*SignatureProposalFSM) WithSetup ¶
func (m *SignatureProposalFSM) WithSetup(state fsm.State, payload *internal.DumpedMachineStatePayload) internal.DumpedMachineProvider
Click to show internal directories.
Click to hide internal directories.