cadence

package
v0.37.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package cadence provide some utilities to interact with Cadence.

Index

Constants

View Source
const (
	// This is the task list name we use to identify our global client worker.
	// It also identifies the group of workflow and activity implementations
	// that are hosted by a single worker process.
	GlobalTaskListName = "global"
)

Variables

This section is empty.

Functions

func NewDomainClient

func NewDomainClient(logger *zap.Logger, appName string, config Config) (cadencesdk_client.DomainClient, error)

NewDomainClient returns a Cadence Domain client.

func NewWorker

func NewWorker(logger *zap.Logger, appName string, config Config) (cadencesdk_worker.Worker, error)

func NewWorkflowClient

func NewWorkflowClient(logger *zap.Logger, appName string, config Config) (cadencesdk_client.Client, error)

NewWorkflowClient returns a new Cadence client.

Types

type Config

type Config struct {
	Domain  string
	Address string
}

Jump to

Keyboard shortcuts

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