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 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)
Click to show internal directories.
Click to hide internal directories.