Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/foxcpp/maddy
/ validMatchRule
Function
validMatchRule
internal/msgpipeline/config.go:395–397 ·
view source on GitHub ↗
(rule string)
Source
from the content-addressed store, hash-verified
393
}
394
395
func
validMatchRule(rule string) bool {
396
return
address.ValidDomain(rule) || address.Valid(rule)
397
}
Callers
2
parseMsgPipelineRootCfg
Function · 0.85
parseMsgPipelineSrcCfg
Function · 0.85
Calls
2
ValidDomain
Function · 0.92
Valid
Function · 0.92
Tested by
no test coverage detected