feat/optimize: add userspace routing and optimize domain routing (#18)

This commit is contained in:
mzz
2023-02-18 18:27:28 +08:00
committed by GitHub
parent 87efa3d38d
commit 8f6b0a6e2a
79 changed files with 862 additions and 176 deletions

View File

@ -1,15 +1,17 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) since 2022, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
*/
package consts
type RoutingDomainKey string
const (
RoutingDomain_Full = "full"
RoutingDomain_Keyword = "keyword"
RoutingDomain_Suffix = "suffix"
RoutingDomain_Regex = "regex"
RoutingDomainKey_Full RoutingDomainKey = "full"
RoutingDomainKey_Keyword RoutingDomainKey = "keyword"
RoutingDomainKey_Suffix RoutingDomainKey = "suffix"
RoutingDomainKey_Regex RoutingDomainKey = "regex"
Function_Domain = "domain"
Function_Ip = "ip"