Discover Packages
github.com/dotenx/dotenx/ao-api
miniTasks
package
Version:
v0.0.0-...-27c9e6d
Opens a new window with list of versions in this module.
Published: Apr 13, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Assignment struct {
Type string `json:"type"`
Name string `json:"name"`
Params struct {
Name string `json:"name"`
Value string `json:"value"`
} `json:"params"`
}
type ExecuteTask struct {
Type string `json:"type"`
Name string `json:"name"`
Params struct {
Output string `json:"output"`
Url string `json:"url"`
Headers map[string ]interface{} `json:"headers"`
Body map[string ]interface{} `json:"body"`
Method string `json:"method"`
} `json:"params"`
}
type Foreach struct {
Type string `json:"type"`
Name string `json:"name"`
Params struct {
Collection string `json:"collection"`
Iterator string `json:"iterator"`
Body []interface{} `json:"body"`
} `json:"params"`
}
type FunctionCall struct {
Type string `json:"type"`
Name string `json:"name"`
Params struct {
Output string `json:"output"`
Name string `json:"name"`
Arguments []interface{} `json:"arguments"`
} `json:"params"`
}
type If struct {
Type string `json:"type"`
Name string `json:"name"`
Params struct {
Branches []struct {
Condition string `json:"condition"`
Body []interface{} `json:"body"`
} `json:"branches"`
ElseBranch []interface{} `json:"elseBranch"`
} `json:"params"`
}
Add the functionality to add new imports to the import store
type Output struct {
Type string `json:"type"`
Name string `json:"name"`
Params struct {
Value string `json:"value"`
} `json:"params"`
}
type Repeat struct {
Type string `json:"type"`
Name string `json:"name"`
Params struct {
Count string `json:"count"`
Iterator string `json:"iterator"`
Body []interface{} `json:"body"`
} `json:"params"`
}
type VarDeclaration struct {
Type string `json:"type"`
Name string `json:"name"`
Params struct {
Name string `json:"name"`
} `json:"params"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.