mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-02 23:06:36 +08:00
15 lines
249 B
Go
15 lines
249 B
Go
package job
|
|
|
|
import (
|
|
"log/slog"
|
|
"openflare/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)
|
|
}
|
|
}
|