Documentation
¶
Index ¶
- Constants
- type Plugin
- func (p *Plugin) AddListener(listener events.Listener)
- func (p *Plugin) Init(temporal temporal.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() []worker.BaseProcess
- func (p *Plugin) WorkflowNames() []string
- type PoolEvent
Constants ¶
View Source
const ( // PluginName defines public service name. PluginName = "workflows" // RRMode sets as RR_MODE env variable to let worker know about the mode to run. RRMode = "temporal/workflow" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin manages workflows and workers.
func (*Plugin) AddListener ¶
AddListener adds event listeners to the service.
func (*Plugin) Workers ¶
func (p *Plugin) Workers() []worker.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.