mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 20:37:37 +03:00
Refactor bind control
This commit is contained in:
parent
2373281c41
commit
189f02c802
16 changed files with 123 additions and 62 deletions
|
@ -31,7 +31,7 @@ type Router interface {
|
|||
Lookup(ctx context.Context, domain string, strategy dns.DomainStrategy) ([]netip.Addr, error)
|
||||
LookupDefault(ctx context.Context, domain string) ([]netip.Addr, error)
|
||||
|
||||
InterfaceBindManager() control.BindManager
|
||||
InterfaceFinder() control.InterfaceFinder
|
||||
DefaultInterface() string
|
||||
AutoDetectInterface() bool
|
||||
DefaultMark() int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue