runner

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: AGPL-3.0 Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FireCampaignEvent

func FireCampaignEvent(mr *mailroom.Mailroom, orgID models.OrgID, contactID models.ContactID, flowUUID flows.FlowUUID, event *triggers.CampaignEvent, triggeredOn time.Time) (*models.Session, error)

FireCampaignEvent starts the flow for the passed in org, contact and flow

func StartFlow

func StartFlow(ctx context.Context, mr *mailroom.Mailroom, assets *models.OrgAssets, trigger flows.Trigger) (*models.Session, error)

StartFlow runs the passed in flow for the passed in contact

Types

This section is empty.

Jump to

Keyboard shortcuts

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