mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-09 09:06:36 +08:00
[优化] go 引用调整
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package job
|
||||
|
||||
import (
|
||||
"log/slog"
|
||||
|
||||
"github.com/rain-kl/openflare/openflare-server/service"
|
||||
)
|
||||
|
||||
type WAFIPGroupSyncJob struct{}
|
||||
|
||||
func (j *WAFIPGroupSyncJob) Run() {
|
||||
if err := service.SyncDueWAFIPGroups(); err != nil {
|
||||
slog.Error("failed to sync due waf ip groups", "error", err)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user