(key string)
| 906 | } |
| 907 | |
| 908 | func keyValid(key string) bool { |
| 909 | if len(key) == 0 || key[0] == '.' || key[len(key)-1] == '.' { |
| 910 | return false |
| 911 | } |
| 912 | return validKeyRe.MatchString(key) |
| 913 | } |
| 914 | |
| 915 | func searchKeyValid(key string) bool { |
| 916 | if len(key) == 0 || key[0] == '.' || key[len(key)-1] == '.' { |
no outgoing calls