job

package
v0.0.0-...-f00fb6a Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 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 Job

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

func (*Job) Run

func (j *Job) Run(ctx context.Context)

type JobInterface

type JobInterface interface {
	Run(ctx context.Context)
}

func NewJob

func NewJob(cfg *configuration.Configuration, jobId int) JobInterface

type WebhookResponse

type WebhookResponse struct {
	Status        string   `json:"status"`
	Id            string   `json:"id"`
	FileLocations []string `json:"file_location,omitempty"`
	ErrorMsg      string   `json:"error_msg,omitempty"`
}

Jump to

Keyboard shortcuts

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