CheckPathContainsIPPort 检查路径中是否包含xxx://ip:port
(path string)
| 131 | |
| 132 | // CheckPathContainsIPPort 检查路径中是否包含xxx://ip:port |
| 133 | func CheckPathContainsIPPort(path string) bool { |
| 134 | return checkIPPortRegexp.MatchString(path) |
| 135 | } |
| 136 | |
| 137 | // ModelNameValid check model name is valid |
| 138 | func ModelNameValid(param string) bool { |
nothing calls this directly
no outgoing calls
no test coverage detected