models

package
v1.16.3 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FailedJob

type FailedJob struct {
	FailedAt   *carbon.DateTime `db:"failed_at"`
	UUID       string           `db:"uuid"`
	Connection string           `db:"connection"`
	Queue      string           `db:"queue"`
	Payload    string           `db:"payload"`
	Exception  string           `db:"exception"`
	ID         uint             `db:"id"`
}

type Job

type Job struct {
	ReservedAt  *carbon.DateTime `db:"reserved_at"`
	AvailableAt *carbon.DateTime `db:"available_at"`
	CreatedAt   *carbon.DateTime `db:"created_at"`
	Queue       string           `db:"queue"`
	Payload     string           `db:"payload"`
	ID          uint             `db:"id"`
	Attempts    int              `db:"attempts"`
}

func (*Job) Increment

func (r *Job) Increment() int

func (*Job) Touch

func (r *Job) Touch() *carbon.DateTime

Jump to

Keyboard shortcuts

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