add config option to disable queues
This commit is contained in:
parent
b274d3268f
commit
0db37d31b8
2 changed files with 5 additions and 1 deletions
|
@ -22,6 +22,10 @@ type GormConfig struct {
|
||||||
EnableGorm bool
|
EnableGorm bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type QueueConfig struct {
|
||||||
|
EnableQueue bool
|
||||||
|
}
|
||||||
|
|
||||||
type CacheConfig struct {
|
type CacheConfig struct {
|
||||||
EnableCache bool
|
EnableCache bool
|
||||||
}
|
}
|
||||||
|
|
2
queue.go
2
queue.go
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (c) 2024 Zeni Kim <zenik@smarteching.com>
|
// Copyright (c) 2025 Zeni Kim <zenik@smarteching.com>
|
||||||
// Use of this source code is governed by MIT-style
|
// Use of this source code is governed by MIT-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue