SetHosts will override any hosts resolution and return the given hosts for all calls to Hosts. Use for testing purposes only.
(hosts []string)
| 340 | // SetHosts will override any hosts resolution and return the given hosts for all calls to Hosts. |
| 341 | // Use for testing purposes only. |
| 342 | SetHosts(hosts []string) |
| 343 | |
| 344 | // SetDefaultHost will override any host resolution and return the given host and source for all calls to |
| 345 | // DefaultHost. |
no outgoing calls