worker

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Worker

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

func New

func New(ctx context.Context, cfg config.AppConfig, enableCron bool) (*Worker, error)

func (*Worker) DatabaseWorker

func (w *Worker) DatabaseWorker(ctx context.Context, wg *sync.WaitGroup)

func (*Worker) JobsWorker

func (w *Worker) JobsWorker(ctx context.Context, wg *sync.WaitGroup)

func (*Worker) Start

func (w *Worker) Start(parentCtx context.Context)

func (*Worker) TelegramWorker

func (w *Worker) TelegramWorker(ctx context.Context, wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

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