runs

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2018 License: AGPL-3.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRun

func NewRun(session flows.Session, 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 ReadRun

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

ReadRun decodes a run from the passed in JSON. Parent run UUID is returned separately as the run in question might be loaded yet from the session.

Types

This section is empty.

Jump to

Keyboard shortcuts

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