Documentation ¶
Overview ¶
Fetchall ranges over the CLI arguments (that should be URLs) and fetches each of them. It reports the size of the resource at the URL and the time it took to download it. It does this concurrently.
Adapted from github.com/adonovan/gopl.io/tree/master/ch1/fetchall.
Level: intermediate Topics: web client, net/http, concurrency
Click to show internal directories.
Click to hide internal directories.