Documentation ¶
Index ¶
- Constants
- type Config
- type Metrics
- type Plugin
- func (p *Plugin) CreateWorker(tq string, options worker.Options) (worker.Worker, error)
- func (p *Plugin) GetClient() client.Client
- func (p *Plugin) GetCodec() rrt.Codec
- func (p *Plugin) GetConfig() Config
- func (p *Plugin) GetDataConverter() converter.DataConverter
- func (p *Plugin) Init(cfg config.Configurer, log logger.Logger) error
- func (p *Plugin) Name() string
- func (p *Plugin) Serve() chan error
- func (p *Plugin) Stop() error
- type Temporal
Constants ¶
View Source
const (
MetricsTypeSummary string = "summary"
)
View Source
const PluginName = "temporal"
PluginName defines public service name.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Address string Namespace string Metrics *Metrics Activities *pool.Config Codec string DebugLevel int `mapstructure:"debug_level"` CacheSize int `mapstructure:"cache_size"` }
Config of the temporal client and depended services.
func (*Config) InitDefault ¶ added in v1.0.9
func (c *Config) InitDefault()
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin implement Temporal contract.
func (*Plugin) CreateWorker ¶
CreateWorker allocates new temporal worker on an active connection.
func (*Plugin) GetDataConverter ¶
func (p *Plugin) GetDataConverter() converter.DataConverter
GetDataConverter returns data active data converter.
Click to show internal directories.
Click to hide internal directories.