Refactor bind control

This commit is contained in:
世界 2022-09-14 12:46:02 +08:00
parent 2373281c41
commit 189f02c802
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
16 changed files with 123 additions and 62 deletions

View file

@ -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