handler

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DumpHandler

type DumpHandler struct {
	Dump *config.Dump
}

func NewDumpHandler

func NewDumpHandler(dump *config.Dump) *DumpHandler

func (*DumpHandler) Do

func (d *DumpHandler) Do() error

type JobHandler

type JobHandler struct {
	Job *config.Job
}

func NewJobHandler

func NewJobHandler(job *config.Job) *JobHandler

Create a new job handler.

func (*JobHandler) Do

func (handler *JobHandler) Do() *jobresult.JobResult

Do the job.

type Notifier

type Notifier interface {
	Notify(results []*jobresult.JobResult) error
}

Jump to

Keyboard shortcuts

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