utils

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TemporalHostPort  = "localhost:7233"
	TemporalNamespace = "default"
	SupportedChannels = []Common.CommunicationChannel{Common.CommunicationChannel_SMS,
		Common.CommunicationChannel_WHATSAPP}
)
View Source
var DefaultTimezone, _ = time.LoadLocation("Asia/Kolkata")
View Source
var GRPCClientConfig map[string]string
View Source
var LOG = getLogger()
View Source
var SMSTemplatesConfig map[string]string
View Source
var ServiceSpecSpecificTemplatesConfig map[string]map[string]map[string]string
View Source
var TemplatesConfig map[string]map[string]string
View Source
var WorkflowClient client.Client = getClient()
View Source
var WorkflowConfig map[string]string

Functions

func GetActivityOptions

func GetActivityOptions() workflow.ActivityOptions

func GetProdActivityOptions

func GetProdActivityOptions() workflow.ActivityOptions

func GetProdWorkflowOptions

func GetProdWorkflowOptions(id string, taskQueue string) client.StartWorkflowOptions

func GetWFClient

func GetWFClient(namespace, hostPort string) client.Client

func GetWorkflowOptionsWithWorkflowRunTimeout

func GetWorkflowOptionsWithWorkflowRunTimeout(id string, taskQueue string) client.StartWorkflowOptions

func WithCEActivityOptions

func WithCEActivityOptions(ctx workflow.Context) workflow.Context

func WithCEPActivityOptions

func WithCEPActivityOptions(ctx workflow.Context) workflow.Context

func WithCMPSActivityOptions

func WithCMPSActivityOptions(ctx workflow.Context) workflow.Context

func WithChildWorkflowOptions

func WithChildWorkflowOptions(ctx workflow.Context, id string) workflow.Context

func WithChildWorkflowOptionsDuplicates

func WithChildWorkflowOptionsDuplicates(ctx workflow.Context, id string) workflow.Context

func WithChildWorkflowOptionsTaskQueue

func WithChildWorkflowOptionsTaskQueue(ctx workflow.Context, taskQueue string, id string) workflow.Context

func WithChildWorkflowOptionsTaskQueueDuplicates

func WithChildWorkflowOptionsTaskQueueDuplicates(ctx workflow.Context, taskQueue string, id string) workflow.Context

func WithIOTChildWorkflowOptionsDuplicates

func WithIOTChildWorkflowOptionsDuplicates(ctx workflow.Context, id string) workflow.Context

func WithShortLivedChildWorkflowOptionsDuplicates

func WithShortLivedChildWorkflowOptionsDuplicates(ctx workflow.Context, id string) workflow.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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