generated from kedaya_haitao/template
feat 替换go mod 名称
This commit is contained in:
parent
364e132845
commit
db0aac347b
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
||||
module gitea.timerzz.com/kedaya_haitao/proxy-detector
|
||||
module gitea.timerzz.com/proxy-detector
|
||||
|
||||
go 1.22.5
|
||||
|
||||
|
12
main.go
12
main.go
@ -5,12 +5,12 @@ import (
|
||||
"flag"
|
||||
"os"
|
||||
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/config"
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/log"
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/pkg/getter"
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/pkg/proxy"
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/pkg/proxy/structs"
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/pkg/worker"
|
||||
"gitea.timerzz.com/proxy-detector/config"
|
||||
"gitea.timerzz.com/proxy-detector/log"
|
||||
"gitea.timerzz.com/proxy-detector/pkg/getter"
|
||||
"gitea.timerzz.com/proxy-detector/pkg/proxy"
|
||||
"gitea.timerzz.com/proxy-detector/pkg/proxy/structs"
|
||||
"gitea.timerzz.com/proxy-detector/pkg/worker"
|
||||
"github.com/gofiber/fiber/v3"
|
||||
"github.com/gofiber/fiber/v3/middleware/cors"
|
||||
"github.com/gofiber/fiber/v3/middleware/recover"
|
||||
|
@ -3,8 +3,8 @@ package getter
|
||||
import (
|
||||
"errors"
|
||||
|
||||
configv1 "gitea.timerzz.com/kedaya_haitao/proxy-detector/config"
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/pkg/proxy/structs"
|
||||
configv1 "gitea.timerzz.com/proxy-detector/config"
|
||||
"gitea.timerzz.com/proxy-detector/pkg/proxy/structs"
|
||||
)
|
||||
|
||||
type Getter interface {
|
||||
|
@ -4,9 +4,9 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
configv1 "gitea.timerzz.com/kedaya_haitao/proxy-detector/config"
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/log"
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/pkg/proxy/structs"
|
||||
configv1 "gitea.timerzz.com/proxy-detector/config"
|
||||
"gitea.timerzz.com/proxy-detector/log"
|
||||
"gitea.timerzz.com/proxy-detector/pkg/proxy/structs"
|
||||
"github.com/go-resty/resty/v2"
|
||||
"github.com/metacubex/mihomo/adapter"
|
||||
clash_config "github.com/metacubex/mihomo/config"
|
||||
|
@ -4,10 +4,10 @@ import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
configv1 "gitea.timerzz.com/kedaya_haitao/proxy-detector/config"
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/log"
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/pkg/proxy/structs"
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/pkg/templates"
|
||||
configv1 "gitea.timerzz.com/proxy-detector/config"
|
||||
"gitea.timerzz.com/proxy-detector/log"
|
||||
"gitea.timerzz.com/proxy-detector/pkg/proxy/structs"
|
||||
"gitea.timerzz.com/proxy-detector/pkg/templates"
|
||||
"github.com/go-resty/resty/v2"
|
||||
"github.com/metacubex/mihomo/adapter"
|
||||
clash_config "github.com/metacubex/mihomo/config"
|
||||
|
@ -11,10 +11,10 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/config"
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/log"
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/pkg/proxy/structs"
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/pkg/worker"
|
||||
"gitea.timerzz.com/proxy-detector/config"
|
||||
"gitea.timerzz.com/proxy-detector/log"
|
||||
"gitea.timerzz.com/proxy-detector/pkg/proxy/structs"
|
||||
"gitea.timerzz.com/proxy-detector/pkg/worker"
|
||||
C "github.com/metacubex/mihomo/constant"
|
||||
)
|
||||
|
||||
|
@ -5,10 +5,10 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/pkg/getter"
|
||||
healthcheck "gitea.timerzz.com/kedaya_haitao/proxy-detector/pkg/health-check"
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/pkg/proxy/structs"
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/pkg/worker"
|
||||
"gitea.timerzz.com/proxy-detector/pkg/getter"
|
||||
healthcheck "gitea.timerzz.com/proxy-detector/pkg/health-check"
|
||||
"gitea.timerzz.com/proxy-detector/pkg/proxy/structs"
|
||||
"gitea.timerzz.com/proxy-detector/pkg/worker"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
|
@ -5,9 +5,9 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/log"
|
||||
healthcheck "gitea.timerzz.com/kedaya_haitao/proxy-detector/pkg/health-check"
|
||||
"gitea.timerzz.com/kedaya_haitao/proxy-detector/pkg/proxy/structs"
|
||||
"gitea.timerzz.com/proxy-detector/log"
|
||||
healthcheck "gitea.timerzz.com/proxy-detector/pkg/health-check"
|
||||
"gitea.timerzz.com/proxy-detector/pkg/proxy/structs"
|
||||
)
|
||||
|
||||
func CronHealthCheck(ctx context.Context, interval int) {
|
||||
|
Loading…
Reference in New Issue
Block a user