Add LookupHost expr lib func (#1775)
This commit is contained in:
parent
2088bb1f91
commit
22479a289d
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ func GetExprEnv(ctx map[string]interface{}) map[string]interface{} {
|
||||||
"XMLGetNodeValue": XMLGetNodeValue,
|
"XMLGetNodeValue": XMLGetNodeValue,
|
||||||
"IpToRange": IpToRange,
|
"IpToRange": IpToRange,
|
||||||
"IsIPV6": IsIPV6,
|
"IsIPV6": IsIPV6,
|
||||||
|
"LookupHost": net.LookupHost,
|
||||||
"GetDecisionsCount": GetDecisionsCount,
|
"GetDecisionsCount": GetDecisionsCount,
|
||||||
"GetDecisionsSinceCount": GetDecisionsSinceCount,
|
"GetDecisionsSinceCount": GetDecisionsSinceCount,
|
||||||
"Sprintf": fmt.Sprintf,
|
"Sprintf": fmt.Sprintf,
|
||||||
|
|
Loading…
Reference in a new issue