server

package
v0.0.0-...-e0d82eb Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClientOptionsFromEnv

func CreateClientOptionsFromEnv() (client.Options, error)

CreateClientOptionsFromEnv creates a client.Options instance, configures it based on environment variables, and returns that instance. It supports the following environment variables:

TEMPORAL_ADDRESS: Host and port (formatted as host:port) of the Temporal Frontend Service
TEMPORAL_NAMESPACE: Namespace to be used by the Client
TEMPORAL_TLS_CERT: Path to the x509 certificate
TEMPORAL_TLS_KEY: Path to the private certificate key

If these environment variables are not set, the client.Options instance returned will be based on the SDK's default configuration.

func RunAPIServers

func RunAPIServers(ctx context.Context, config config.AppConfig, client client.Client, services []string) error

RunAPIServers runs API servers for the requested services.

func RunWorkers

func RunWorkers(ctx context.Context, config config.AppConfig, client client.Client, services []string) error

RunWorkers runs workers for the requested services.

Types

This section is empty.

Jump to

Keyboard shortcuts

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