(regexps []*regexp.Regexp, s string)
| 90 | } |
| 91 | |
| 92 | func matchStringAny(regexps []*regexp.Regexp, s string) bool { |
| 93 | for _, r := range regexps { |
| 94 | if r.MatchString(s) { |
| 95 | return true |
| 96 | } |
| 97 | } |
| 98 | return false |
| 99 | } |
| 100 | |
| 101 | func formatURL(tls bool, httpIP string, port int) string { |
| 102 | proto := "http" |