Documentation ¶
Index ¶
- Constants
- type Application
- type Config
- type Debug
- func (r *Debug) Fatal(args ...any)
- func (r *Debug) Fatalf(format string, args ...any)
- func (r *Debug) Fatalln(args ...any)
- func (r *Debug) Panic(args ...any)
- func (r *Debug) Panicf(format string, args ...any)
- func (r *Debug) Panicln(args ...any)
- func (r *Debug) Print(args ...any)
- func (r *Debug) Printf(format string, args ...any)
- func (r *Debug) Println(args ...any)
- type Error
- func (r *Error) Fatal(args ...any)
- func (r *Error) Fatalf(format string, args ...any)
- func (r *Error) Fatalln(args ...any)
- func (r *Error) Panic(args ...any)
- func (r *Error) Panicf(format string, args ...any)
- func (r *Error) Panicln(args ...any)
- func (r *Error) Print(args ...any)
- func (r *Error) Printf(format string, args ...any)
- func (r *Error) Println(args ...any)
- type Fatal
- func (r *Fatal) Fatal(args ...any)
- func (r *Fatal) Fatalf(format string, args ...any)
- func (r *Fatal) Fatalln(args ...any)
- func (r *Fatal) Panic(args ...any)
- func (r *Fatal) Panicf(format string, args ...any)
- func (r *Fatal) Panicln(args ...any)
- func (r *Fatal) Print(args ...any)
- func (r *Fatal) Printf(format string, args ...any)
- func (r *Fatal) Println(args ...any)
- type Info
- func (r *Info) Fatal(args ...any)
- func (r *Info) Fatalf(format string, args ...any)
- func (r *Info) Fatalln(args ...any)
- func (r *Info) Panic(args ...any)
- func (r *Info) Panicf(format string, args ...any)
- func (r *Info) Panicln(args ...any)
- func (r *Info) Print(args ...any)
- func (r *Info) Printf(format string, args ...any)
- func (r *Info) Println(args ...any)
- type Machinery
- type ServiceProvider
- type Task
- type Warning
- func (r *Warning) Fatal(args ...any)
- func (r *Warning) Fatalf(format string, args ...any)
- func (r *Warning) Fatalln(args ...any)
- func (r *Warning) Panic(args ...any)
- func (r *Warning) Panicf(format string, args ...any)
- func (r *Warning) Panicln(args ...any)
- func (r *Warning) Print(args ...any)
- func (r *Warning) Printf(format string, args ...any)
- func (r *Warning) Println(args ...any)
- type Worker
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 ¶
func NewApplication(config configcontract.Config, log log.Log) *Application
func (*Application) GetJobs ¶
func (app *Application) GetJobs() []queue.Job
func (*Application) Register ¶
func (app *Application) Register(jobs []queue.Job)
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func NewConfig ¶
func NewConfig(config configcontract.Config) *Config
func (*Config) DefaultConnection ¶
type Machinery ¶
type Machinery struct {
// contains filtered or unexported fields
}
func NewMachinery ¶
func NewMachinery(config *Config, log logcontract.Log) *Machinery
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 ¶
type Task struct {
// contains filtered or unexported fields
}
func (*Task) DispatchSync ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.