wfregistry

package
v0.0.0-...-0adad2b Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultRegistry = New()

Functions

This section is empty.

Types

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

func New

func New() *Registry

func (*Registry) Create

func (r *Registry) Create(typ string) (wfcontracts.Workflow, error)

func (*Registry) GetConfigTemplates

func (r *Registry) GetConfigTemplates() []wfcontracts.Config

func (*Registry) Register

func (r *Registry) Register(typ string, factory func() wfcontracts.Workflow)

Jump to

Keyboard shortcuts

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