chore: cleanup the patch code

This commit is contained in:
wwqgtxx committed 2024-09-12 11:19:54 +08:00
1 parent 4c3fe98ebd
commit e33d4a4769
4 files changed
-47

No files matched your search

-19
View File
@@ -1,19 +0,0 @@
//go:build android && cmfa
package provider
import (
"time"
)
var (
suspended bool
)
type UpdatableProvider interface {
UpdatedAt() time.Time
}
func Suspend(s bool) {
suspended = s
}
-2
View File
@@ -6,8 +6,6 @@ import (
"github.com/metacubex/mihomo/component/resolver"
)
const SystemDNSPlaceholder = "system"
var systemResolver []dnsClient
func FlushCacheWithDefaultResolver() {
-9
View File
@@ -1,9 +0,0 @@
//go:build android && cmfa
package http
import "net"
func (l *Listener) Listener() net.Listener {
return l.listener
}
-17
View File
@@ -1,17 +0,0 @@
//go:build android && cmfa
package provider
import "time"
var (
suspended bool
)
type UpdatableProvider interface {
UpdatedAt() time.Time
}
func Suspend(s bool) {
suspended = s
}