SetHosts will override any hosts resolution and return the given hosts for all calls to Hosts. Use for testing purposes only.
(hosts []string)
| 163 | // SetHosts will override any hosts resolution and return the given hosts for all calls to Hosts. |
| 164 | // Use for testing purposes only. |
| 165 | SetHosts(hosts []string) |
| 166 | |
| 167 | // SetDefaultHost will override any host resolution and return the given host and source for all calls to |
| 168 | // DefaultHost. |
no outgoing calls