Versions in this module Expand all Collapse all v0 v0.7.11 May 19, 2022 v0.7.10 May 19, 2022 Changes in this version + const MethodGet + const MethodPost + const ReservedWorkflowConcurrency + var ErrConfirmationDepthInvalid = errors.New("invalid confirmation depth") + var ErrMetadataInvalid = errors.New("metadata invalid") + var ErrNetworkInvalid = errors.New("network invalid") + var ErrNoBroadcastToConfirm = errors.New("no broadcast to confirm") + var ErrOperationFormat = errors.New("operation format") + var ErrUnableToCreateBroadcast = errors.New("unable to create broadcast") + var ErrUnableToHandleBroadcast = errors.New("unable to handle broadcast") + var ErrUnableToHandleDryRun = errors.New("unable to handle dry run") + var ErrVariableIncorrectFormat = errors.New("variable in incorrect format") + var ErrVariableNotFound = errors.New("variable not found") + func UnmarshalInput(input []byte, output interface{}) error + type Action struct + Input string + OutputPath string + Type ActionType + type ActionType string + const Assert + const Derive + const FindBalance + const FindCurrencyAmount + const GenerateKey + const GetBlob + const HTTPRequest + const LoadEnv + const Math + const PrintMessage + const RandomNumber + const RandomString + const SaveAccount + const SetBlob + const SetVariable + type Broadcast struct + ConfirmationDepth int64 + DryRun bool + Intent []*types.Operation + Metadata map[string]interface{} + Network *types.NetworkIdentifier + type FindBalanceInput struct + AccountIdentifier *types.AccountIdentifier + CreateLimit int + CreateProbability int + MinimumBalance *types.Amount + NotAccountIdentifier []*types.AccountIdentifier + NotAddress []string + NotCoins []*types.CoinIdentifier + RequireCoin bool + SubAccountIdentifier *types.SubAccountIdentifier + type FindBalanceOutput struct + AccountIdentifier *types.AccountIdentifier + Balance *types.Amount + Coin *types.CoinIdentifier + type FindCurrencyAmountInput struct + Amounts []*types.Amount + Currency *types.Currency + type GenerateKeyInput struct + CurveType types.CurveType + type GetBlobInput struct + Key interface{} + type HTTPMethod string + type HTTPRequestInput struct + Body string + Method string + Timeout int + URL string + type Job struct + Identifier string + Index int + Scenarios []*Scenario + State string + Status Status + Workflow string + func New(workflow *Workflow) *Job + func (j *Job) BroadcastComplete(ctx context.Context, transaction *types.Transaction) error + func (j *Job) CheckComplete() bool + func (j *Job) CreateBroadcast() (*Broadcast, error) + func (j *Job) DryRunComplete(ctx context.Context, suggestedFee []*types.Amount) error + type MathInput struct + LeftValue string + Operation MathOperation + RightValue string + type MathOperation string + const Addition + const Division + const Multiplication + const Subtraction + type RandomNumberInput struct + Maximum string + Minimum string + type RandomStringInput struct + Limit int + Regex string + type ReservedVariable string + const ConfirmationDepth + const DryRun + const Network + const Operations + const PreprocessMetadata + const SuggestedFee + const Transaction + type ReservedWorkflow string + const CreateAccount + const RequestFunds + const ReturnFunds + type SaveAccountInput struct + AccountIdentifier *types.AccountIdentifier + KeyPair *keys.KeyPair + type Scenario struct + Actions []*Action + Name string + type SetBlobInput struct + Key interface{} + Value json.RawMessage + type Status string + const Broadcasting + const Completed + const Failed + const Ready + type Workflow struct + Concurrency int + Name string + Scenarios []*Scenario