TrustLinkLocal configures if you trust link-local address (default: true).
(v bool)
| 152 | |
| 153 | // TrustLinkLocal configures if you trust link-local address (default: true). |
| 154 | func TrustLinkLocal(v bool) TrustOption { |
| 155 | return func(c *ipChecker) { |
| 156 | c.trustLinkLocal = v |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | // TrustPrivateNet configures if you trust private network address (default: true). |
| 161 | func TrustPrivateNet(v bool) TrustOption { |
no outgoing calls
searching dependent graphs…