client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial(options Options) (client.Client, error)

Dial offers a wrapper over Temporal SDK's Dial() that offers Candid auth, Google auth and encryption readily available, if enabled through the options.

Types

type Options

type Options struct {
	client.Options
	HostPort   string                        `yaml:"host"`
	Namespace  string                        `yaml:"namespace"`
	Queue      string                        `yaml:"queue"`
	Auth       *auth.AuthOptions             `yaml:"auth"`
	Encryption *encryption.EncryptionOptions `yaml:"encryption"`
	TLSRootCAs string                        `yaml:"tls_root_cas"`
}

Options allows to specify various configurations when connecting to Temporal.

func (*Options) GetTLSRootCAs

func (t *Options) GetTLSRootCAs() (*x509.CertPool, error)

Jump to

Keyboard shortcuts

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