TrustLoopback configures if you trust loopback address (default: true).
(v bool)
| 145 | |
| 146 | // TrustLoopback configures if you trust loopback address (default: true). |
| 147 | func TrustLoopback(v bool) TrustOption { |
| 148 | return func(c *ipChecker) { |
| 149 | c.trustLoopback = v |
| 150 | } |
| 151 | } |
| 152 | |
| 153 | // TrustLinkLocal configures if you trust link-local address (default: true). |
| 154 | func TrustLinkLocal(v bool) TrustOption { |
no outgoing calls
searching dependent graphs…