Documentation
¶
Index ¶
- Constants
- type Plugin
- func (p *Plugin) Init(temporal client.Temporal, server server.Server, log logger.Logger, ...) error
- func (p *Plugin) Name() string
- func (p *Plugin) Reset() error
- func (p *Plugin) Serve() chan error
- func (p *Plugin) Stop() error
- func (p *Plugin) Workers() []rrWorker.BaseProcess
- func (p *Plugin) WorkflowNames() []string
Constants ¶
View Source
const ( // PluginName defines public service name. PluginName = "workflows" // Main plugin name RootPluginName = "temporal" // RRMode sets as RR_MODE env variable to let pool know about the mode to run. RRMode = "workflow" )
View Source
const RR_CODEC = "RR_CODEC" //nolint
RR_CODEC env variable key
View Source
const RR_MODE = "RR_MODE" //nolint
RR_MODE env variable key
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
Plugin manages workflows and workers.
func (*Plugin) Init ¶
func (p *Plugin) Init(temporal client.Temporal, server server.Server, log logger.Logger, cfg config.Configurer) error
Init workflow plugin.
func (*Plugin) Workers ¶
func (p *Plugin) Workers() []rrWorker.BaseProcess
Workers returns list of available workflow workers.
func (*Plugin) WorkflowNames ¶
WorkflowNames returns list of all available workflows.
Click to show internal directories.
Click to hide internal directories.