jobs

package
v0.0.0-...-654e1bf Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type CreateSystemAccountsJob

type CreateSystemAccountsJob interface {
	Run(ctx context.Context) error
	GetSchedule() string
}

func NewCreateSystemAccountsJob

func NewCreateSystemAccountsJob(
	accountLogic logic.AccountLogic,
	cronConfig configs.Cron,
	logger *zap.Logger,
) (CreateSystemAccountsJob, error)

type Cron

type Cron interface {
	Start(context.Context) error
}

func NewCron

func NewCron(
	logger *zap.Logger,
) (Cron, error)

type Job

type Job interface {
	Run(context.Context) error
	GetSchedule() string
}

Jump to

Keyboard shortcuts

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