Documentation ¶
Index ¶
Constants ¶
View Source
const Binding = "goravel.queue"
View Source
const DriverRedis string = "redis"
View Source
const DriverSync string = "sync"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func NewApplication ¶ added in v1.7.2
func NewApplication(config configcontract.Config) *Application
func (*Application) GetJobs ¶
func (app *Application) GetJobs() []queue.Job
func (*Application) Register ¶
func (app *Application) Register(jobs []queue.Job)
type Config ¶ added in v1.12.0
type Config struct {
// contains filtered or unexported fields
}
func NewConfig ¶ added in v1.12.0
func NewConfig(config configcontract.Config) *Config
func (*Config) DefaultConnection ¶ added in v1.12.0
type Machinery ¶ added in v1.12.0
type Machinery struct {
// contains filtered or unexported fields
}
func NewMachinery ¶ added in v1.12.0
type ServiceProvider ¶
type ServiceProvider struct { }
func (*ServiceProvider) Boot ¶
func (receiver *ServiceProvider) Boot(app foundation.Application)
func (*ServiceProvider) Register ¶
func (receiver *ServiceProvider) Register(app foundation.Application)
type Task ¶ added in v1.12.0
type Task struct {
// contains filtered or unexported fields
}
func (*Task) DispatchSync ¶ added in v1.12.0
func (*Task) OnConnection ¶ added in v1.12.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.