mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 20:37:37 +03:00
Add urltest outbound
This commit is contained in:
parent
139127f1e4
commit
c4e46c35b5
17 changed files with 473 additions and 112 deletions
|
@ -6,6 +6,7 @@ import (
|
|||
"net/netip"
|
||||
|
||||
"github.com/sagernet/sing-box/common/geoip"
|
||||
"github.com/sagernet/sing-box/common/urltest"
|
||||
"github.com/sagernet/sing-dns"
|
||||
"github.com/sagernet/sing/common/control"
|
||||
N "github.com/sagernet/sing/common/network"
|
||||
|
@ -38,6 +39,7 @@ type Router interface {
|
|||
|
||||
Rules() []Rule
|
||||
SetTrafficController(controller TrafficController)
|
||||
URLTestHistoryStorage(create bool) *urltest.HistoryStorage
|
||||
}
|
||||
|
||||
type Rule interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue