package
Version:
v0.1.30
Opens a new window with list of versions in this module.
Published: Dec 31, 2024
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Component struct {
}
type InMessage struct {
Context Context `json:"context" title:"Context" configurable:"true" description:"Arbitrary message to be send further"`
Task Task `json:"task" title:"Task" required:"true"`
}
type OutMessage struct {
Task Task `json:"task"`
Context Context `json:"context"`
}
type Settings struct {
EnableAckPort bool ``
EnableStopPort bool `json:"enableStopPort" required:"true" title:"Enable stop port" description:"Stop port allows you to stop scheduler"`
}
type StartControl struct {
Start bool `json:"start" format:"button" title:"Start" required:"true" description:"Run"`
Status string `json:"status" title:"Status" readonly:"true"`
}
type StopControl struct {
Stop bool `json:"stop" format:"button" title:"Stop" required:"true" description:"Stop"`
Status string `json:"status" title:"Status" readonly:"true"`
}
type Task struct {
ID string `json:"id" required:"true" title:"Unique task ID"`
DateTime time.Time `json:"dateTime" required:"true" title:"Date and time" description:"Format examples: 2012-10-01T09:45:00.000+02:00"`
Schedule bool ``
}
type TaskAck struct {
Task Task `json:"task"`
Context Context `json:"context"`
ScheduledIn int64 `json:"scheduledIn"`
Error *string `json:"error"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.