IsMatchFilterAppKey 判断字符串是否匹配策略筛选条件key(应用)标准格式appkey{abc}
(s string)
| 77 | |
| 78 | // IsMatchFilterAppKey 判断字符串是否匹配策略筛选条件key(应用)标准格式appkey{abc} |
| 79 | func IsMatchFilterAppKey(s string) bool { |
| 80 | return filterAppKeyRegexp.MatchString(s) |
| 81 | } |
| 82 | |
| 83 | // IsMatchDomainPort 判断字符串是否符合域名或者域名:port |
| 84 | func IsMatchDomainPort(s string) bool { |
nothing calls this directly
no outgoing calls
no test coverage detected