12345678910111213141516171819 |
- package job
- import (
- "x-ui/web/service"
- )
- type CheckHashStorageJob struct {
- tgbotService service.Tgbot
- }
- func NewCheckHashStorageJob() *CheckHashStorageJob {
- return new(CheckHashStorageJob)
- }
- func (j *CheckHashStorageJob) Run() {
-
- j.tgbotService.GetHashStorage().RemoveExpiredHashes()
- }
|