Refactor(constant): added rule string enums in configs as RuleConfig for better outside integrations (#2878)
This commit is contained in:
@ -52,6 +52,8 @@ func (t Type) String() string {
|
||||
return "Redir"
|
||||
case TPROXY:
|
||||
return "TProxy"
|
||||
case TUNNEL:
|
||||
return "Tunnel"
|
||||
default:
|
||||
return "Unknown"
|
||||
}
|
||||
|
Reference in New Issue
Block a user