job

package
v0.0.0-...-23596ee Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Ctx       context.Context
	Conn      *pgx.Conn
	AppConfig Config.AppConfig
}

func NewHandler

func NewHandler(ctx context.Context, conn *pgx.Conn, appConfig Config.AppConfig) *Handler

func (Handler) ReadBirthdays

func (h Handler) ReadBirthdays()

func (Handler) RunCron

func (h Handler) RunCron(ctx context.Context)

type Job

type Job interface {
	Do()
	Cancel()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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