worker

package
v0.0.0-...-df6f7bd Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package worker implements a Cadence worker with basic configurations.

Index

Constants

View Source
const (
	HostPort = "127.0.0.1:7833"
	Domain   = "cadence-samples"
	// TaskListName identifies set of client workflows, activities, and workers.
	// It could be your group or client or application name.
	TaskListName   = "cadence-samples-worker"
	ClientName     = "cadence-samples-worker"
	CadenceService = "cadence-frontend"
)

Variables

This section is empty.

Functions

func BuildCadenceClient

func BuildCadenceClient() workflowserviceclient.Interface

func BuildLogger

func BuildLogger() *zap.Logger

func StartWorker

func StartWorker()

StartWorker creates and starts a basic Cadence worker.

Types

This section is empty.

Jump to

Keyboard shortcuts

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