增加可配置的定时任务功能
This commit is contained in:
@ -2,6 +2,7 @@ package global
|
||||
|
||||
import (
|
||||
"github.com/patrickmn/go-cache"
|
||||
"github.com/robfig/cron/v3"
|
||||
"gorm.io/gorm"
|
||||
"next-terminal/pkg/config"
|
||||
)
|
||||
@ -13,3 +14,5 @@ var Cache *cache.Cache
|
||||
var Config *config.Config
|
||||
|
||||
var Store *TunStore
|
||||
|
||||
var Cron *cron.Cron
|
||||
|
Reference in New Issue
Block a user