Documentation ¶
Index ¶
- func NewEmptySprint() flows.Sprint
- func NewSessionAssets(source assets.AssetSource) (flows.SessionAssets, error)
- func NewSprint(modifiers []flows.Modifier, events []flows.Event) flows.Sprint
- type Builder
- func (b *Builder) Build() flows.Engine
- func (b *Builder) WithAirtimeService(svc flows.AirtimeService) *Builder
- func (b *Builder) WithDefaultUserAgent(userAgent string) *Builder
- func (b *Builder) WithDisableWebhooks(disable bool) *Builder
- func (b *Builder) WithMaxStepsPerSprint(max int) *Builder
- func (b *Builder) WithMaxWebhookResponseBytes(max int) *Builder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEmptySprint ¶ added in v0.25.4
NewEmptySprint creates a new sprint
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
Types ¶
type Builder ¶ added in v0.27.4
type Builder struct {
// contains filtered or unexported fields
}
Builder is a builder for engine configs
func NewBuilder ¶ added in v0.27.4
func NewBuilder() *Builder
NewBuilder creates a new environment builder
func (*Builder) WithAirtimeService ¶ added in v0.48.0
func (b *Builder) WithAirtimeService(svc flows.AirtimeService) *Builder
WithAirtimeService sets the airtime transfer service
func (*Builder) WithDefaultUserAgent ¶ added in v0.27.4
WithDefaultUserAgent sets the default user-agent string used for webhook calls
func (*Builder) WithDisableWebhooks ¶ added in v0.27.4
WithDisableWebhooks sets whether webhooks are enabled
func (*Builder) WithMaxStepsPerSprint ¶ added in v0.30.0
WithMaxStepsPerSprint sets the maximum number of steps allowed in a single sprint
func (*Builder) WithMaxWebhookResponseBytes ¶ added in v0.27.4
WithMaxWebhookResponseBytes sets the maximum webhook request bytes
Click to show internal directories.
Click to hide internal directories.