runs

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContextForContact

func NewContextForContact(contact *flows.Contact, run flows.FlowRun) flows.Context

NewContextForContact creates a new context for the passed in contact

func NewRun

func NewRun(env flows.FlowEnvironment, flow flows.Flow, contact *flows.Contact, parent flows.FlowRun) flows.FlowRun

NewRun initializes a new context and flow run for the passed in flow and contact

func ReadContext

func ReadContext(data json.RawMessage) (flows.Context, error)

ReadContext decodes a context from the passed in JSON

func ReadRun

func ReadRun(data json.RawMessage) (flows.FlowRun, error)

ReadRun decodes a run from the passed in JSON

func ReadSession

func ReadSession(data json.RawMessage) (flows.Session, error)

ReadSession decodes a session from the passed in JSON

Types

This section is empty.

Jump to

Keyboard shortcuts

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