Add store_mode and platform Clash mode selector

This commit is contained in:
世界 2023-08-24 21:52:38 +08:00
parent 6dcacf3b5e
commit 43f72a6419
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
29 changed files with 405 additions and 71 deletions

View file

@ -32,6 +32,7 @@ type Router interface {
Exchange(ctx context.Context, message *mdns.Msg) (*mdns.Msg, error)
Lookup(ctx context.Context, domain string, strategy dns.DomainStrategy) ([]netip.Addr, error)
LookupDefault(ctx context.Context, domain string) ([]netip.Addr, error)
ClearDNSCache()
InterfaceFinder() control.InterfaceFinder
UpdateInterfaces() error