mirror of
https://github.com/acepanel/panel.git
synced 2026-02-05 02:07:18 +08:00
24 lines
466 B
Go
24 lines
466 B
Go
package config
|
|
|
|
import (
|
|
"github.com/goravel/framework/facades"
|
|
)
|
|
|
|
func init() {
|
|
config := facades.Config()
|
|
config.Add("queue", map[string]any{
|
|
// Default Queue Connection Name
|
|
"default": "sync",
|
|
|
|
// Queue Connections
|
|
//
|
|
// Here you may configure the connection information for each server that is used by your application.
|
|
// Drivers: "sync", "redis"
|
|
"connections": map[string]any{
|
|
"sync": map[string]any{
|
|
"driver": "sync",
|
|
},
|
|
},
|
|
})
|
|
}
|