Documentation ¶
Index ¶
- func NewConfig(disableWebhooks bool, webhookMocks []*flows.WebhookMock, ...) flows.EngineConfig
- func NewDefaultConfig() flows.EngineConfig
- func NewEmptySprint() flows.Sprint
- func NewSession(assets flows.SessionAssets, engineConfig flows.EngineConfig, ...) flows.Session
- func NewSessionAssets(source assets.AssetSource) (flows.SessionAssets, error)
- func NewSprint(modifiers []flows.Modifier, events []flows.Event) flows.Sprint
- func ReadConfig(data json.RawMessage, base flows.EngineConfig) (flows.EngineConfig, error)
- func ReadSession(sessionAssets flows.SessionAssets, engineConfig flows.EngineConfig, ...) (flows.Session, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfig ¶ added in v0.10.3
func NewConfig(disableWebhooks bool, webhookMocks []*flows.WebhookMock, maxWebhookResponseBytes int) flows.EngineConfig
NewConfig returns a new engine configuration
func NewDefaultConfig ¶ added in v0.9.3
func NewDefaultConfig() flows.EngineConfig
NewDefaultConfig returns the default engine configuration
func NewEmptySprint ¶ added in v0.25.4
NewEmptySprint creates a new sprint
func NewSession ¶ added in v0.4.0
func NewSession(assets flows.SessionAssets, engineConfig flows.EngineConfig, httpClient *utils.HTTPClient) flows.Session
NewSession creates a new session
func NewSessionAssets ¶ added in v0.4.0
func NewSessionAssets(source assets.AssetSource) (flows.SessionAssets, error)
NewSessionAssets creates a new session assets instance with the provided base URLs
func NewSprint ¶ added in v0.24.0
NewSprint creates a new sprint with the passed in modifiers and events
func ReadConfig ¶ added in v0.10.3
func ReadConfig(data json.RawMessage, base flows.EngineConfig) (flows.EngineConfig, error)
ReadConfig reads an engine configuration from the given JSON, using the provided config as a base
func ReadSession ¶ added in v0.4.0
func ReadSession(sessionAssets flows.SessionAssets, engineConfig flows.EngineConfig, httpClient *utils.HTTPClient, data json.RawMessage, missing assets.MissingCallback) (flows.Session, error)
ReadSession decodes a session from the passed in JSON
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.