Refactor(constant): added rule string enums in configs as RuleConfig for better outside integrations (#2878)

This commit is contained in:
Neko Ayaka
2023-08-16 11:06:30 +08:00
committed by GitHub
parent cb8c732375
commit 218c3b4e89
16 changed files with 249 additions and 16 deletions

View File

@ -52,6 +52,8 @@ func (t Type) String() string {
return "Redir"
case TPROXY:
return "TProxy"
case TUNNEL:
return "Tunnel"
default:
return "Unknown"
}