temporal

package
v0.0.0-...-73f03d9 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ClimonDeployTaskQueue = "CLIMON_DEPLOY_TASK_QUEUE"
)

Variables

This section is empty.

Functions

func New

func New(address string) *worker

Types

type Client

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

func NewClient

func NewClient(address string) (*Client, error)

func (*Client) Close

func (c *Client) Close()

func (*Client) CreateWorker

func (c *Client) CreateWorker(taskQue string)

func (*Client) RegisterActivity

func (c *Client) RegisterActivity(activity interface{})

func (*Client) RegisterWorkflow

func (c *Client) RegisterWorkflow(workflow interface{})

func (*Client) StartWorker

func (c *Client) StartWorker() error

type Worker

type Worker interface {
	Start() error
	Stop() error
}

func NewDeployWorker

func NewDeployWorker(address string) (Worker, error)

Jump to

Keyboard shortcuts

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