scheduler_handlers

package
v0.0.0-...-ac35e32 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InAppScheduledJobService

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

func NewInAppScheduledJobService

func NewInAppScheduledJobService(
	eventEmitter *infrastructure.EventEmitter,
	kw *kafka.Writer,
	db *gorm.DB,
	rdb *redis.Client,
	s3Client *s3.S3,
	natsClient *nats.Conn,
	scheduler gocron.Scheduler,
) *InAppScheduledJobService

func (*InAppScheduledJobService) InitAndRegisterJobs

func (svc *InAppScheduledJobService) InitAndRegisterJobs(ctx context.Context)

func (*InAppScheduledJobService) InitEventHandlers

func (svc *InAppScheduledJobService) InitEventHandlers()

func (*InAppScheduledJobService) ReleaseAllJobs

func (svc *InAppScheduledJobService) ReleaseAllJobs() error

func (*InAppScheduledJobService) ScheduleEchoHello

func (svc *InAppScheduledJobService) ScheduleEchoHello()

Jump to

Keyboard shortcuts

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