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() []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" )
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 ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin manages workflows and workers.
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.