mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-20 08:06:34 +08:00
实现websocket基本功能
This commit is contained in:
@@ -52,3 +52,8 @@ func ParseVariables(source string, replacer func(varName string) (value string))
|
||||
}
|
||||
return result.String()
|
||||
}
|
||||
|
||||
// 判断是否有变量
|
||||
func HasVariables(source string) bool {
|
||||
return regexpNamedVariable.MatchString(source)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user