jobs

package
v0.0.0-...-5863de9 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job interface {
	RunJob(ctx context.Context) error
}

Job exposing jobs operations

func BuildJob

func BuildJob(jobType JobType) Job

func NewCalendarJob

func NewCalendarJob(storage calendar.Storage, memberService member.Service) Job

type JobType

type JobType int
const (
	WEEKLY_BIRTHDAYS JobType = iota + 1
	DAILY_BIRTHDAYS
	CALENDAR_BUILD
)

func (JobType) From

func (JobType) From(value string) (JobType, error)

func (JobType) String

func (j JobType) String() string

Directories

Path Synopsis
Package mock_jobs is a generated GoMock package.
Package mock_jobs is a generated GoMock package.

Jump to

Keyboard shortcuts

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