temporal

package
v0.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultQueueName = "default"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewTemporalClient

func NewTemporalClient(opts *ClientOpts) (*Client, error)

func (*Client) Close

func (c *Client) Close()

func (*Client) GetBroadcastAddress

func (c *Client) GetBroadcastAddress() string

func (*Client) GetClient

func (c *Client) GetClient(queueName string) (client.Client, error)

func (*Client) GetOpts

func (c *Client) GetOpts() *ClientOpts

type ClientOpts

type ClientOpts struct {
	BroadcastAddress string
	HostPort         string
	Namespace        string
	BearerToken      string
	DefaultQueueName string

	ClientKeyFile  string
	ClientCertFile string
	RootCAFile     string
	TLSServerName  string
}

Jump to

Keyboard shortcuts

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