Documentation ¶
Index ¶
- Constants
- type Auth
- type KeyValue
- type Middleware
- func (this *Middleware) Do(task model.CamundaExternalTask) (modules []model.Module, outputs map[string]interface{}, err error)
- func (this *Middleware) RunPostScripts(userId string, inputs map[string]interface{}, ...) (variableChanges map[string]interface{}, outputs map[string]interface{}, ...)
- func (this *Middleware) RunPreScripts(userId string, inputs map[string]interface{}, variables map[string]interface{}) (variableChanges map[string]interface{}, outputs map[string]interface{}, ...)
- func (this *Middleware) RunScripts(userId string, prefix string, inputs map[string]interface{}, ...) (variableChanges map[string]interface{}, outputs map[string]interface{}, ...)
- func (this *Middleware) Undo(modules []model.Module, reason error)
- type ScriptContext
- type VariablesRepo
Constants ¶
View Source
const PostScriptPrefix = "postscript"
View Source
const PreScriptPrefix = "prescript"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware struct {
// contains filtered or unexported fields
}
func New ¶
func New(handler camunda.Handler, repo VariablesRepo, auth Auth, iotClient client.Interface) *Middleware
func (*Middleware) Do ¶
func (this *Middleware) Do(task model.CamundaExternalTask) (modules []model.Module, outputs map[string]interface{}, err error)
func (*Middleware) RunPostScripts ¶
func (*Middleware) RunPreScripts ¶
func (*Middleware) RunScripts ¶
type ScriptContext ¶
Click to show internal directories.
Click to hide internal directories.