engine

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2017 License: AGPL-3.0 Imports: 5 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFlowEnvironment

func NewFlowEnvironment(env utils.Environment, flowList []flows.Flow, runList []flows.FlowRun, contactList []*flows.Contact) flows.FlowEnvironment

NewFlowEnvironment creates and returns a new FlowEnvironment given the passed in environment and flow map

func ResumeFlow

func ResumeFlow(env flows.FlowEnvironment, run flows.FlowRun, event flows.Event) (flows.Session, error)

ResumeFlow resumes our flow from the last step

func StartFlow

func StartFlow(env flows.FlowEnvironment, flow flows.Flow, contact *flows.Contact, parent flows.FlowRun, input flows.Input, extra json.RawMessage) (flows.Session, error)

StartFlow starts the flow for the passed in contact, returning the created FlowRun

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL