Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatHosts ¶
FormatHosts() takes a list of hosts and ports and builds full URLs in the form of scheme://host:port. If no scheme is provided, it will use "https" by default.
Returns a 2D string slice where each slice contains URL host strings for each port. The intention is to have all of the URLs for a single host combined into a single slice to initiate one goroutine per host, but making request to multiple ports.
func FormatIPs ¶
FormatIPs() takes a list of IP addresses and ports and builds full URLs in the form of scheme://host:port. If no scheme is provided, it will use "https" by default.
Returns a 2D string slice where each slice contains URL host strings for each port. The intention is to have all of the URLs for a single host combined into a single slice to initiate one goroutine per host, but making request to multiple ports.
Types ¶
This section is empty.