Documentation ¶
Index ¶
- Constants
- func NewNode(flowOpCtx *model.FlowOperationalContext, meta model.MetaNode, ...) model.Node
- type Node
- func (node *Node) Cleanup() error
- func (node *Node) ConfigureInStream(activeSubscriptions *[]string, msgInStream model.MsgPipeline)
- func (node *Node) Init() error
- func (node *Node) LoadNodeConfig() error
- func (node *Node) OnInput(msg *model.Message) ([]model.NodeID, error)
- func (node *Node) WaitForEvent(nodeEventStream chan model.ReactorEvent)
- type NodeConfig
- type TimeExpression
Constants ¶
View Source
const SUNRISE = "sunrise"
View Source
const SUNSET = "sunset"
View Source
const TIME_FORMAT = "2006-01-02 15:04:05"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Node ¶
Time trigger node
func (*Node) ConfigureInStream ¶
func (node *Node) ConfigureInStream(activeSubscriptions *[]string, msgInStream model.MsgPipeline)
func (*Node) LoadNodeConfig ¶
func (*Node) WaitForEvent ¶
func (node *Node) WaitForEvent(nodeEventStream chan model.ReactorEvent)
type NodeConfig ¶
type TimeExpression ¶
type TimeExpression struct { Name string Expression string //https://godoc.org/github.com/robfig/cron#Job Comment string }
Click to show internal directories.
Click to hide internal directories.