Documentation
¶
Overview ¶
Package temporalclient provides functions to create and manage Temporal clients. It includes utilities for connecting to Temporal servers with default or custom namespaces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureLogger ¶
ConfigureLogger sets the logger used by Temporal clients created after the call.
func GetTemporalClientWithNamespace ¶
GetTemporalClientWithNamespace returns the shared cached Temporal client for the namespace. Callers must not close the returned client; its lifecycle is managed by this package and ShutdownClients.
func NewNamespaceClient ¶
func NewNamespaceClient() (client.NamespaceClient, error)
NewNamespaceClient returns a new Temporal namespace client for TEMPORAL_ADDRESS. Callers own the returned client and must close it.
func SetClientForTests ¶
SetClientForTests injects a client into the cache for unit tests.
func ShutdownClients ¶
func ShutdownClients()
Types ¶
This section is empty.