temporal

package
v0.0.0-...-749d40c Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCronStarter

func CreateCronStarter(deps cronStarterDeps) error

func CreateWorker

func CreateWorker(deps workerDeps) error

Types

type CronStarter

type CronStarter struct {
	WorkflowID string
	RunID      string
	// contains filtered or unexported fields
}

type CronWorker

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

type ExchangeActivities

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

func CreateActivities

func CreateActivities(deps activityDeps) *ExchangeActivities

func (*ExchangeActivities) GetRates

func (impl *ExchangeActivities) GetRates(ctx context.Context) (result *model.ExchangeRatesModel, err error)

func (*ExchangeActivities) UpdateRates

func (impl *ExchangeActivities) UpdateRates(ctx context.Context, doc *model.ExchangeRateDocument) error

type LazyWorker

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

type UpdateRatesWorkflow

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

func CreateUpdateRatesWorkflow

func CreateUpdateRatesWorkflow(deps updateRatesWorkflowDeps) *UpdateRatesWorkflow

func (*UpdateRatesWorkflow) UpdateRates

func (impl *UpdateRatesWorkflow) UpdateRates(ctx workflow.Context) (err error)

Jump to

Keyboard shortcuts

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